What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Comparing 2 email addresses in conditional logic

    Asked by Hardyc on January 23, 2016 at 05:19 AM

    Hi

     

    I have a form for leave. I ask the user to enter their name and email address.  I also ask them to enter their Manager's name and email address.

    I have conditional logic to check if the two email addresses are the same, and if they are to send an error message to the user saying "they cant do that".

     

    It looks like the conditional logic is not working.  Can you help.

    Page URL:
    https://form.jotform.co/60211489950860

    compare email conditions compare 2 email address warning message
  • Profile Image
    JotForm Support

    Answered by Welvin on January 23, 2016 at 09:42 AM

    I would suggest adding a text field and put the warning message there. Then add a show/hide conditional logic in the form, you have to target the other field value. Example:

    Here's a cloned version of your form showing the changes: https://form.jotform.com/60224046086954.

  • Profile Image

    Answered by Huberson on January 23, 2016 at 09:46 AM

    Hi,

    you can achieve this by creating a 'Autoresponder' notification and adjust the condition.

    You can follow these steps:

    1-2 Create new 'Autoreponder notification'.

    3-4 Set the recipient to the email field to be filled and set your reply email.

    5- Write the message for the recipient email.

    6- Adjust the condition so that when both emails are same the message, the message is sent to the person who filed the form.

     

    Hope this solve the problem.

     

    Huberson

  • Profile Image

    Answered by Hardyc on January 23, 2016 at 03:15 PM

    fantastic Welvin - thanks so much

  • Profile Image
    JotForm Support

    Answered by Jan on January 24, 2016 at 04:53 AM

    Glad to hear that you like Welvin's solution. On behalf of Welvin, you're welcome. Let us know if you need any help. Thank you.