Required Dynamic Drop Downs

I gave youi just an example and I have used different dropdowns. Probably first levels.

In any case you should aim at something like this

The format I using here is: ‘Key’ - ‘Label’

Dropdown 1
‘’ - ‘’ <- note they are both blank!!!
‘d1a’ - ‘Label for d1a’ <- note there is no underscore: it is used to separate the different levels so it is better not to use it for other purposes
‘d1b’ - ‘Label for d1b’
‘d1c’ - ‘Label for d1b’

Dropdown 2
‘’ - ‘’ <- note they are both blank!!!
‘d1a_d2a’ - ‘Label for d2a’ <- note the key has two sub keys separated by an underscore
‘d1a_d2b’ - ‘Label for d2b’
'd1a_d2c - ‘Label for d2c’

‘d1b_d2d’ - ‘Label for d2d’
‘d1b_d2e’ - ‘Label for d2e’
'd1b_d2f - ‘Label for d2f’

‘d1c_d2g’ - ‘Label for d2d’
‘d1c_d2h’ - ‘Label for d2e’
'd1c_d2i - ‘Label for d2f’

Dropdown 3
‘’ - ‘’ <- note they are both blank!!!
‘d1a_d2a_d3a’ - ‘Label for d3a’ <- note the key has three sub keys separated by an underscore
‘d1a_d2a_d3b’ - ‘Label for d3b’
‘d1a_d2a_d3c’ - ‘Label for d3c’

‘d1a_d2b_d3d’ - ‘Label for d3d’
‘d1a_d2b_d3e’ - ‘Label for d3e’
‘d1a_d2b_d3f’ - ‘Label for d3f’

…
…

‘d1c_d2i_d3xx’ - ‘Label for d3xx’
‘d1c_d2i_d3xy’ - ‘Label for d3xy’
‘d1c_d2i_d3xz’ - ‘Label for d3xz’

I hope you undertsnd how to proceed.

Remember to mark the fields as required and don’t put, if prompted, a default value except the blank values.

The concept is the following:

  1. The field is required
  2. the first value in the list gets selected
  3. If you don’t pick any value the first value remains and, since it’s blank the save button will produce an error message and force you to choose a value