Comparing 2 email addresses in conditional logic

  • Profile Image
    Hardyc
    Asked 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.

  • Profile Image
    Welvin
    Answered 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
    Huberson
    Answered 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
    Hardyc
    Answered on January 23, 2016 at 03:15 PM

    fantastic Welvin - thanks so much

  • Profile Image
    Jan
    Answered 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.