Conditional Logic: Deriving an outcome based on the answer

  • akrichardsave
    Asked on March 29, 2024 at 7:36 AM

    Hi there,

    I have this requirement.

    I have one or more Single Choice Properties tied to a Yes or No reply.

    I wish to derive an outcome base on these Yes or No answers.

    For example:

    If question 1 = No; and

    If question 2 = No; and

    If question 3 = No

    THEN

    Outcome = REJECT (lodged in a separate field in the table).

    How do I achieve this?

    Could you guide me on this please?

    Thanks

  • Kyle JotForm Support
    Replied on March 29, 2024 at 8:01 AM

    Hi akrichardsave,

    Thanks for reaching out to Jotform Support. You can achieve it using our Conditional Logic feature. I created a cloned form and the outcome would be reject redirecting the user to a Custom Thank You Page. The outcome will be reflected in the form submissions and not directly in the submission table. Let me show you how:

    1. Navigate to the Settings menu at the top of the Form Builder.
    2. Go to the left and select Conditions.
    3. Create a new condition for the Change Thank You Page. Conditional Logic: Deriving an outcome based on the answer Image 1 Screenshot 50
    4. Establish the conditions rules on the next page.
    5. The conditional logic in this cloned form is as follows: Conditional Logic: Deriving an outcome based on the answer Image 2 Screenshot 61
    6. After finishing, click Save at the bottom. Conditional Logic: Deriving an outcome based on the answer Image 3 Screenshot 72

    See my screencast below for my results:

    Conditional Logic: Deriving an outcome based on the answer Image 4 Screenshot 83

    Give it a try, and let us know how it goes.

  • akrichardsave
    Replied on March 31, 2024 at 11:45 PM

    Hi there,

    Thank you for your reply.

    Additionally, how do I apply similar conditions in the SUBMISSION TABLE itself?

    An example of my requirement is outlined in the attached image.

    RegardsConditional Logic: Deriving an outcome based on the answer Image 1 Screenshot 20

  • Sheena JotForm Support
    Replied on April 1, 2024 at 12:17 AM

    Hello akrichardsave,

    Thanks for getting back to us. You can do this in Form Builder so it will reflect in your submission table. I can see that you were able to create a condition to pass a value in your outcome field. Can you please confirm if this resolves the issue? Conditional Logic: Deriving an outcome based on the answer Image 1 Screenshot 40

    Just as a heads up, you have the option to add text directly to the condition instead of copying a field to another. It's important to keep in mind that you should set "ALL" to "If rules are matched" to ensure that the condition will only be triggered if both if statements are met. Here's a condition you can use.

    Conditional Logic: Deriving an outcome based on the answer Image 2 Screenshot 51

    Result: Conditional Logic: Deriving an outcome based on the answer Image 3 Screenshot 62

    Give it a try and let us know if you need any help.


  • akrichardsave
    Replied on April 1, 2024 at 8:22 AM

    Thank you for the clarification.

    Regards