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

    Populate Dropdown list using SQL query

    Asked by foobar297 on January 19, 2017 at 07:28 PM

    Can I do a SQL query from a database to make a dropdown menu?

  • Profile Image
    JotForm Support

    Answered by jonathan on January 19, 2017 at 11:35 PM

    You can achieve this by using the full source code of the form and then create your own custom SQL query script that will populate the Dropdown list field.

    This process will require custom programming on your part (the SQL query data injection code)

    Here is a similar discussion thread you can review

    https://www.jotform.com/answers/369587-How-do-I-populate-a-dropdown-menu-with-items-from-a-Google-Sheet

    Although in that discussion the source data is from a google spreadsheet. But the concept is very much the same to what you need.

    Hope this help. Let us know how we can be of further assistance.