Forums

[contact form 7]: How can I validate the contact form and display error messages (1 post)

  1. kevcpu
    Member
    Posted 2 years ago #

    I am currently using contact form 7 and need a way to validate the data before I save it to the database. So far, I found documentation on saving to the database hooking into the "wpcf7_before_send_mail" action. My primary concern is making sure the data is safe for entry into the database. I would like to validate the data and return the appropriate error messages and possibly stop the email step. Any help would be greatly appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic