How can I validate if the email address has been entered already in the form and change the thank you page redirection?

  • vrk59er
    Asked on April 27, 2015 at 7:45 AM

    Hi Support,

    I want to set condition when users type  their emails in the form, If  email that is  duplicated that swith to another form. I looked in conditions of form. There is no duplicate email.

     

    What are a solution?

     

    Regards,

  • raul
    Replied on April 27, 2015 at 11:22 AM

    Unfortunately, this is not possible to accomplish using the form builder.

    On this scenario, you could use the API to lookup if the email has been entered already in the form and a custom script in order to make the redirection in case the email address is found.

    You should also check this guide: http://www.jotform.com/help/213-Send-POST-Data-From-JotForm-Using-PHP-in-Custom-Thank-You-Page to see how you can pass the email value to a PHP script that you can use to make the validation and redirection.