How to autoselect options in a dropdown list

  • Profile Image
    peterherbert
    Asked on November 09, 2015 at 04:50 PM

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

     

    Thanks.

  • Profile Image
    abajan
    Answered on November 09, 2015 at 07: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

  • Profile Image
    peterherbert
    Answered on November 10, 2015 at 09: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

    ...
  • Profile Image
    Jeanette
    Answered 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

     

  • Profile Image
    peterherbert
    Answered on November 10, 2015 at 02:45 PM
    Dear Janette.

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

    Regards


    ...
  • Profile Image
    Jeanette
    Answered on November 10, 2015 at 03:08 PM

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

     

    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.

  • Profile Image
    peterherbert
    Answered on November 10, 2015 at 03:45 PM
    You’re a star…

    ...
  • Profile Image
    Jeanette
    Answered on November 10, 2015 at 03:53 PM

    Oh, I appreciate that!

    Never hesitate to contact us any time.

    Cheers!

    :)