Systematically update Dropdown values via API.

  • pamhstein
    Asked on June 13, 2025 at 8:41 PM

    Is it possible to systematically update the dropdown options on a list, or any similar component from an external source (or Jotform DB) using APIs?

    i have a dropdown on a form, and I ideally want to populate the selectable options via values that come from a Google sheet.

  • Dayron JotForm Support
    Replied on June 14, 2025 at 3:43 AM

    Hi pamhstein,

    Thanks for reaching out to Jotform Support. I’ll need a bit of time to look into this. I’ll get back to you as soon as I can.

    Thanks for your patience, we appreciate it.

  • Dayron JotForm Support
    Replied on June 14, 2025 at 9:06 AM

    Hi pamhstein,

    Do you mean to update the Dropdown field value via API? If so, using Post method it can be done. This is how your API call will look :

    curl -X POST -d "question[options]=Option1|Option2|Option3|Option4" "https://api.jotform.com/form/{formID}/question/{questionID}?apiKey={apiKey}"

    You can also check out our API Docs Here is also the property reference for the dropdown field, that you can check out.

    If that’s not exactly what you mean to say, can you explain a bit more, so I can help you better?

    Once we hear back from you, we'll be able to move forward with a solution.

  • pamhstein
    Replied on June 15, 2025 at 12:43 PM

    Yes, thank you! That worked perfectly.

Your Reply