Forums

Contact form 7: verify input (3 posts)

  1. zenman_nl
    Member
    Posted 1 year ago #

    Hi there,

    I work with CF7 and it is really great. I like the option to send a confirmation-email to the mail-address the subscriber filled out (mail(2)-option).

    I need an extra check for this option though. If a subscriber made a typo filling out there email-address, then they never receive their confirmation-mail. What I need is this:

    I want the subscriber to fill out their email-address twice and compare the two inputs to make sure the email-address has no typo in it.

    What code do I need to check wether the two email-formfields have the exact same input?

  2. Takayuki Miyoshi
    Member
    Posted 1 year ago #

    See modules/text.php file and check wpcf7_text_validation_filter() in the file. You should compare two inputs there.

    I myself think this is useless. Every user does copy & paste. So Contact Form 7 doesn't support this feature.

  3. zenman_nl
    Member
    Posted 1 year ago #

    Thanks. I think you're right about copy and paste. Topic can be closed now.

Topic Closed

This topic has been closed to new replies.

About this Topic