How to autoselect options in a dropdown list

  • peterherbert
    Asked on November 9, 2015 at 4:50 PM

    Im trying to populate a selection box variable using the attached condition but its not working. Any ideas?

     

    Thanks.

    Jotform Thread 701128 Screenshot
  • abajan Jotform Support
    Replied on November 9, 2015 at 7:01 PM

    Sorry but I'm not sure I understand what you're trying to achieve here. If you want to have the condition add an option to the drop down, that's not currently possible. However, if you were to substitute a text box for the drop down, the condition would work, as illustrated in this clone. Alternatively, if one of the options of the departure drop down was uguguiyguyg, it would be possible to have that choice auto-selected if London Heathrow - LHR is selected in the first drop down, as in this other example. Is any of these what you were after? If not, please elaborate.

    Thanks

  • peterherbert
    Replied on November 10, 2015 at 9:45 AM
    Dear abajan.

    https://form.jotform.com/53127432755960

    That’s exactly what I’m after… I need it to auto select say “terminal 1” in the drop down with it populated with “terminal 2”, terminal 3” etc.

    How would this be achieved.

    Regards

    Peter Herbert

    ...
  • Jeanette JotForm Support
    Replied on November 10, 2015 at 12:33 PM

    What you are trying to do can be achieved with the Dynamic Dropdowns widget

    Here is a demo form of mine:

    https://form.jotform.com/51858529525971

     

  • peterherbert
    Replied on November 10, 2015 at 2:45 PM
    Dear Janette.

    That’s exactly what I need how did you do it?

    Regards


    ...
  • Jeanette JotForm Support
    Replied on November 10, 2015 at 3:08 PM

    Please add the Dynamic Dropdown  widget to your form, or search and add it to your form while on edit mode

    How to autoselect options in a dropdown list Image 1 Screenshot 30

     

    When you add it, you'll see in the wizard a box to add the values, all you need to do is nest them (indenting), creating a parent-child format between dropdown lists.

    How to autoselect options in a dropdown list Image 2 Screenshot 41

  • peterherbert
    Replied on November 10, 2015 at 3:45 PM
    You’re a star…

    ...
  • Jeanette JotForm Support
    Replied on November 10, 2015 at 3:53 PM

    Oh, I appreciate that!

    Never hesitate to contact us any time.

    Cheers!

    :)