How can I create a dynamic dropdown field?

  • Profile Image
    ParenTip
    Asked on November 02, 2021 at 09:52 AM

    :)

  • Profile Image
    Hanne_L
    Answered on November 02, 2021 at 12:04 PM

    @ParenTip

    Thank you for reaching out. 

    We have a few options for dropdown widgets, the main one being the Dynamic Dropdowns widget. Here you can create categories and several options underneath each category.

    Alternatively, there is also the Grouped Values Dropdown. It's similar but displays options differently.

    1635869034_6181616a2ea69_dynamicdd.gif

    I suggest you place it in a blank form and try it out and see if it will fit your needs.

    If you have questions on how to configure them, please let me know and I'll be happy to assist further.

  • Profile Image
    ParenTip
    Answered on November 04, 2021 at 08:18 AM

    Hey Hanne,

    Thanks for you answer.

    I'm looking for a way to be able to change the dropdown values without the need to do anything manually.

    For example, via API or Google Sheets.

  • Profile Image
    Basil_A
    Answered on November 04, 2021 at 08:53 AM

    Hi,

    The form fields can be changed using the API but you would need to write your own script to edit the field.

    You can find the API call to edit a field below:

    https://api.jotform.com/docs/#post-form-id-question-id

    Please let us know if you require any further assistance.