WordPress.org

Forums

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

  1. andreangc19
    Member
    Posted 1 year 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?
    Thanks

    http://wordpress.org/extend/plugins/contact-form-7/

  2. buzztone
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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

Tags

No tags yet.