Logical Condition: How can I show options depending on user's entry?

  • docandy
    Asked on September 20, 2024 at 10:17 AM

    Dear Friends,

    I need some guidance and suggestions. Started to look at widgets but there's SO MANY! (Not a bad thing!)

    Here's what I need to do: I want to help the user identify a ministry (or ministries) based on some input's he/she will provide. For instance, I'll ask them about their interests and gifts and Jotform will display various ministries they could select based on their choices. As an example, user will select some gifts/interests such as: enjoys helping others; can make meals or desserts; their family would like to help, etc.

    Jotform will then display some ministry options such as: working at a hunger center; helping at the parish fish fry; taking meals to homebound, etc.

    I'm not sure what the best tool, widget, or approach would be.

    What do you suggest?

    Thanks,

    andy kereky

  • Eduardo JotForm Support
    Replied on September 20, 2024 at 10:57 AM

    Hi Andy,

    Thanks for reaching out to Jotform Support. Let me look into it and get back to you with a solution.

    We really appreciate your patience.




  • Eduardo JotForm Support
    Replied on September 20, 2024 at 1:43 PM

    Hi Andy,

    Thank you for your patience. For your case, the best approach would be to use our Conditional Logic feature. This allows you to show certain ministry options depending on the user's answers. It's easy setting that up. We will create a Multiple Choice question and depending on the answer, we will display different results. Let me show you how we can do that:

    1. In Form Builder, click on Add Element on the top left. Logical Condition: How can I show options depending on users entry? Image 1 Screenshot 100
    2. Click on Multiple Choice question and it will be added to your form. Name your question and the answers you would like, as my example below: Logical Condition: How can I show options depending on users entry? Image 2 Screenshot 111

    Now, we will need to create more Multiple Choice questions. But now, we will create the options we want to appear once the user selects a specific answer. So, following the instructions sent above, create 3 separate Multiple Choice questions for each result you would like to appear. Check out my example:

    Logical Condition: How can I show options depending on users entry? Image 3 Screenshot 122

    Now, let's hide these fields to not show them unless the correct option is selected.

    1. Click on the Gear icon next to the field we want to hide.
    2. Select the Advanced tab on the top right.
    3. Turn on Hide Field.Logical Condition: How can I show options depending on users entry? Image 4 Screenshot 133

    Follow this procedure for the 3 questions. Now, let's create the Logical Condition to make the fields appear only if a certain option is selected.

    1. Click on Settings on the top of the page.
    2. Select Conditions on the left.
    3. Click Show/Hide Field and do the conditions like you see below: Logical Condition: How can I show options depending on users entry? Image 5 Screenshot 144

    Condition 1:

    Logical Condition: How can I show options depending on users entry? Image 6 Screenshot 155

    Condition 2:

    Logical Condition: How can I show options depending on users entry? Image 7 Screenshot 166

    Condition 3:

    Logical Condition: How can I show options depending on users entry? Image 8 Screenshot 177

    After creating the conditions and clicking on Save on each one, the result will be this:

    Logical Condition: How can I show options depending on users entry? Image 9 Screenshot 188

    You might also want to check out this guide about Conditional Logic for Online Forms.

    I made a test form as an example that you can check out. You can clone the form using these instructions.

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

  • docandy
    Replied on September 20, 2024 at 1:55 PM
    Very interesting Eduardo!
    I’ll give it a try.
    Thanks for all your work on this!!
    Andy Kereky
    ...
  • docandy
    Replied on September 20, 2024 at 2:30 PM
    Eduardo,
    As I was trying your recommendation out, another option arose and I'd
    appreciate your input on this.
    There might be 10-20 interests/gifts the user might be selecting from. (ex:
    good singing voice, public speaking, making meals, writing, good listener,
    teaching, etc.
    What if all 10-20 of these were displayed in a Multiple Choice question.
    Then, depending on the user's selections (could be multiple), Jotform would
    display another Multiple Choice question of all the corresponding
    ministries that are associated with the gifts/interests selected.
    The user could select from these multiple choices which would generate an
    email to the corresponding ministry leader for each ministry.
    Does this sound workable?
    I'm sorry if it seems like I'm dumping on you. I just don't have extensive
    Jotform knowledge (yet).
    Thanks for whatever guidance you can provide.
    Peace,
    andy kereky
    ...
  • Ronald JotForm Support
    Replied on September 20, 2024 at 2:51 PM

    Hi Andy,

    Based on your description, the best option you have is the one provided by Eduardo in his previous reply. You'll just need to increase the number of options in the Multiple Choice and create more conditions for each choice. The process is the same for each choice, and you can simply follow the instructions provided by Eduardo in his previous reply.

    Also, you're welcome to work with a third party who may be able to help you. You can check out our Jotform Solutions Partner Directory for a list of consultants who've asked to be included. 

    You can get in touch with the right Solutions Partner for you by sorting them by location, type of service, industry, language support, or partner tier. Just fill out the contact form for the Jotform partner you'd like to work with, so they can make the necessary preparations to help you.

    Keep in mind, though, that these parties operate independently of Jotform, so we assume no responsibility or liability for their work or their actions. 

    Reach out again if you need any other help.

Your Answer