What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Seting a default value for dropdown based on another dropdown selection

    Asked by MBCTech2 on November 06, 2015 at 08:59 AM

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

  • Profile Image
    JotForm Support

    Answered by Jan on November 06, 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.

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

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

    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".

    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.