Logic to check field value

  • Jeff
    Asked on November 19, 2018 at 6:52 AM

    Can a field be checked against a list to determine a status?

    What I need to do is check if a field, such as a customer account code has a yes or no credit hold status. 

    If yes, then present another form

    If no, then present a different form.

    Please advise. Thanks

  • dilmin
    Replied on November 19, 2018 at 7:54 AM

    If you want to redirect users to another form or web page based on their answers on a form, you can do it with "Change Thank You URL" conditional logic. 


    Here's the guide about how you set this up in the form builder: https://www.jotform.com/help/317-Change-Thank-You-Page-URL-Based-on-a-Condition

    a. Click SETTINGS at the top.


    b. Click on CONDITIONS, select CHANGE THANK YOU PAGE > then proceed to STEP C below.


    04 10 2017 1491765429 Screenshot 10



    c. Simply setup your conditional "Rule" ("IF" statements), select what form fields or inputs will the condition be triggered. After that, setup your "Actions" ("DO" statements), choose "Redirect to URL after submission". Here's an example:


    Change Thank you URL Base on a Condition Screenshot 21


    d. Now enter the URL to where you want the user to be redirected after submission.


    Change Thank you URL Base on a Condition Screenshot 21


    e. Save the form changes and that's it.


    You can check our conditions for other purposes via this link: https://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic


    Hope, it helps. Thanks.