How can I populate a form with a dropdown selection.

  • Profile Image
    Alexis Moses 
    Asked on August 13, 2020 at 01:37 PM

    Hey Jotform Team.

    Can I populate a form based on a dropdown where the user makes a selection and then populates the form with a various amounts of questions and input boxes?

    Can I tag those boxes with meta data to be extracted for later use?


  • Profile Image
    Answered on August 13, 2020 at 03:17 PM

    Hello Alexis - I'm afraid it's not possible to create fields when the form is published. What's possible is to add the fields while on build mode. Then just use conditions to show or hide them based on the dropdown selection.

    To better illustrate, I created a demo form. Here's how it's done:

    1. Add the DropDown fields with options


    2. Next, add the other fields

    15973459062511109 2.png

    3. Lastly, create conditions to show/hide these fields based on the option selected from the dropdown. Here's an example:

    15973460202511109 3.png

    So based on this condition, we will show Question 1 if Question 1 is selected from the dropdown.

    Here's a link to the demo form: 


    Can I tag those boxes with meta data to be extracted for later use?

    May we know where do you plan to use the data? I'm asking because if you only like the data to be stored somewhere that you can view at a later date, I believe the form can do just that. When the user submits the form, the entries will be stored on our servers and can be accessed via the form's Submissions page

    Here's a guide on How-to-View-Form-Submissions.

  • Profile Image
    Alexis Moses 
    Answered on August 14, 2020 at 09:28 AM
    Thanks for the quick reply,
    We would extract data to our servers as we have to stay HIPAA compliant.
    I know there is a Jotform API. Can I call the API on each form submitted and extract the data? Can we tag each input field so we can format information properly?
  • Profile Image
    Answered on August 14, 2020 at 10:14 AM

    Thank you for the additional details. And yes, you can use Jotform API to fetch/export submission data from a HIPAA form.  You may refer to our API documentation and try using a domain on your command string to access the submission data.

    Another way is to use Webhooks in case you're familiar with it. This allows you to get your form submissions posted to a URL. The data will be posted as a multipart/form-data content type.

    Here's a guide on How-to-Setup-a-Webhook-with-JotForm.