Contact Form 7
add label field to error mesaage (4 posts)

  1. andreangc19
    Posted 3 years ago #

    Hi, how could I add the label of the field to the to error message, I mean, i need the name of the field to appear also at the error message box for each input field?


  2. buzztone
    Posted 3 years ago #

    You would need to extend the CF7 plugin, using one of the hooks available in CF7, to add this a functionality. Are you comfortable with coding plugin extensions?

  3. andreangc19
    Posted 3 years ago #

    Yeah, but I don't know which plugin extension would add the name fields to the error message or which hook I need to use. Could you please give me some guidance?

  4. buzztone
    Posted 3 years ago #

    You would have the write the plugin extension yourself. You would need to be relatively experienced with writing PHP code that modifies an existing plugin. It's probably a fairly major job. Sorry - I am not able to offer more detailed guidance.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.