How to Configure the Dynamic Dropdown Widget

June 1, 2023

Dropdown fields are easy to use because of the simplicity of picking an option from a list. If you need to create a dropdown with nested options or limit the choices that can be selected depending on the form filler’s selection, you can use the Dynamic Dropdowns widget.

To set up a Dynamic Dropdowns widget

  1. In the Form Builder, select Add Form Element in the upper-left corner.
  2. In the left pane, go to Widgets at the top.
  3. Search and select Dynamic Dropdowns to add it to your form.
Steps to add Dynamic Dropdowns in Jotform Form Builder
  1. Next, select the widget’s wand icon to open settings.
  2. In the settings pane on the right, set up your dropdown options in the Values field.
Steps to add Dynamic Dropdowns values in Jotform Form Builder

Nesting or indenting the options with spaces creates a parent-child relationship between dropdown lists.

Here’s an example:

Vertebrates
 Warm-blooded
  Dog
  Cat
  Bird
  .
 Cold-blooded
  Goldfish
  Turtle
  Frog
  .
 .
Invertebrates
 With legs
  Beetle
  Ladybug
  Spider
  .
 Without legs
  Earthworm
  Leech
  .
 .
.

To break that down, the top-level options are

Vertebrates
Invertebrates
.

To create choices for “Vertebrates,” add a new line under it and list the options, each with one leading space.

Vertebrates
 Warm-blooded
 Cold-blooded
 .
Invertebrates
.

To create choices for the 2nd-level “Warm-blooded” option, add a new line under it then list the choices, each with two leading spaces.

Vertebrates
 Warm-blooded
  Dog
  Cat
  Bird
  .
 Cold-blooded
 .
Invertebrates
.

And so on. See what it looks like in this demo form.

Notes

  • Setting up the list and nestings using a text editor like Notepad is recommended.
  • Include dot (.) as one of the choices in a set to initially display an empty “Please select” option for that set.
  • Append asterisk (*) to a parent option to make its children required.
  • The Values field has a 65000 character limit.
  • The longer the list, the slower the widget becomes.
Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum: https://www.jotform.com/answers/

Contact Jotform Support: https://www.jotform.com/contact/

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Comments:

  • kulberg - Profile picture
  • Gattinoni - Profile picture
  • yi sin - Profile picture
  • Viviane - Profile picture
  • CalHan - Profile picture
  • Sanuker Sanofi - Profile picture
  • venkata Naga iswarya Rajyalakshmi - Profile picture
  • Mark Costa - Profile picture
  • CairoFlats - Profile picture
  • Denise_Wright - Profile picture
  • digiexpert.markdigi - Profile picture
  • Kory - Profile picture
  • sabrinatran2207 - Profile picture
  • SafetyManager - Profile picture
  • rfreeman1966 - Profile picture