Conditions Setup: Hide Values from field "X", based on the value selection from field "Y"

  • Profile Image
    wordsburg
    Asked on September 26, 2017 at 12:31 PM

    Hello, 

    My query is regarding below form: 

    https://form.jotform.me/72678926724471


    Below are my requirements: 

    1. If user selects any other option apart from "English" from the field "Source language"  

    then

    User should be allowed to select only "English" as the value from Target language field


    2. User should not be able to select same value in both Source language & Target language.

    Ex: Source Language: Japanese  l  Target language: Japanese (Wrong)
    Source Language: Japanese  l  Target language: English (Right)


    Kindly help how can I acheive

  • Profile Image
    Kevin_G
    Answered on September 26, 2017 at 01:20 PM

    It's not possible to change the field options based on conditions, you can only handle the entire field with conditions so you would need to set different dropdowns with the desired options and show them based on the selection made in the "Source Language" field. 

    Here is a guide that will help you with the show/hide conditions: https://www.jotform.com/help/316-How-to-Show-or-Hide-Fields-Base-on-User-s-Answer 

    You may alternatively use the Dynamic Dropdowns widget, it will allow to show dropdowns in cascade and handle the options based on previous selections: https://widgets.jotform.com/widget/dynamic_dropdowns 

    This guide will help you adding the widget to your form: https://www.jotform.com/help/252-How-to-Add-a-Widget-to-your-Form 

    I hope this helps. 

  • Profile Image
    wordsburg
    Answered on September 26, 2017 at 01:24 PM

    Hello, 

    How about below?

    2. User should not be able to select same value in both Source language & Target language. 

    Ex: Source Language: Japanese  l  Target language: Japanese (Wrong)
    Source Language: Japanese  l  Target language: English (Right)

  • Profile Image
    Kevin_G
    Answered on September 26, 2017 at 01:46 PM

    That's possible with conditions, here are the steps: 

    1. Add two Form Calculation widgets and add each drop down, source and target language: 

    2. Once the widgets have been added you will need to include the drop down field, please follow the process for both calculation widgets: 

    3. Add a text element that will be displayed if the selected languages are the same: 

    4. The last step is to set up a condition to show the message: 

    Here is an example about how this will work:  https://form.jotformpro.com/72685377257975

    Feel free to clone my form: https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL 

    I hope this helps.