Seting a default value for dropdown based on another dropdown selection

  • MBCTech2
    Asked on November 6, 2015 at 8:59 AM

    Can I preselect an option in dropdown list B based on the selection in dropdown list A?

  • Jan
    Replied on November 6, 2015 at 10:40 AM

    Unfortunately, you can't set a dropdown default value based on another dropdown. However, you can use the "Update form field value" condition in order to update a text box field based on the dropdown selection. Here's a demo form: https://form.jotform.com/53093936678975

    Here's a guide on how to do it:

    1. Create a dropdown field and a text box field.

    Seting a default value for dropdown based on another dropdown selection Image 1 Screenshot 50

    2. Click the "Conditions" button in the toolbar.

    Seting a default value for dropdown based on another dropdown selection Image 2 Screenshot 61

    3. Select the "Update a Form field value" condition.

    Seting a default value for dropdown based on another dropdown selection Image 3 Screenshot 72

    4. Here, it shows you that if "Age" is equal to "0-2 years old", then the "Infant/Babies" text will be inserted in the Output field which is "Category".

    Seting a default value for dropdown based on another dropdown selection Image 4 Screenshot 83

    5. You need to do this in the other items.

    Alternatively, you can use the dynamic dropdown widget in order to achieve this.

    Let us know if you have any questions. Thank you.