What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to autoselect options in a dropdown list

    Asked by peterherbert 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.

    Page URL:
    https://form.jotformeu.com/53125942437355

    Screenshot
    dynamic selection dynamic dropdown auto select options widget
  • Profile Image
    JotForm Support

    Answered by abajan 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

    Answered by peterherbert 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
    JotForm Support Manager

    Answered by Jeanette 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

    Answered by peterherbert on November 10, 2015 at 02:45 PM
    Dear Janette.

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

    Regards


    ...
  • Profile Image
    JotForm Support Manager

    Answered by Jeanette 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

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

    ...
  • Profile Image
    JotForm Support Manager

    Answered by Jeanette on November 10, 2015 at 03:53 PM

    Oh, I appreciate that!

    Never hesitate to contact us any time.

    Cheers!

    :)