Is it possible to set up conditional logic using the state (e.g., CA, IL, etc) field within the address field to send to specific email address?

  • chrisgothard
    Asked on March 10, 2016 at 2:25 PM
  • Nik_C
    Replied on March 10, 2016 at 3:50 PM

    Hello, 

    If you could tell us more about the workflow so we can see the actual logic, but I think it should be possible, since you can set conditional logic to check if that 'State' field equals to certain state plus if address field equals to whatever you define, you could than create some hidden field that you will use to put email address in, according to the conditions above, and finally create notifier that will send email to that 'hidden' email address.

    You can check this instruction that I made:

    Is it possible to set up conditional logic using the state (e Screenshot 20

    As you can see I created state field, address and email. I left email visible just for testing purposes, but you can hide it and just use it for your responder.

    If this is not what you had in mind, please let me know.

    Best regards.

  • chrisgothard
    Replied on March 11, 2016 at 12:45 AM
    Hi,
    My conditional email notification does not work. Can you please check https://www.jotform.com//?formID=60690478171157 and help me find out why?
    I’m trying to send an email to a specific sales person based on the value of the state/province entry.
    Thank you,
    ...
  • Chriistian Jotform Support
    Replied on March 11, 2016 at 2:13 AM

    The condition might not be working because there are multiple values in the Value field of the condition. This would mean that the email would only be sent if the value is literally equal to NC, VA, DE, NJ, MD, PA.

    Is it possible to set up conditional logic using the state (e Screenshot 30

    To add multiple values in one condition, click the + button as seen below. Then make sure that ANY is selected in the "If rules are matched"

    Is it possible to set up conditional logic using the state (e Screenshot 41

    This means that if the value is equal to VA, or if it is equal to NC, then the email will be sent.

    For further information on conditions, please check out this article: Smart Forms Using Conditional Logic

    Do let us know if you need further assistance.