How can I make a variable number of fields based on a user choice?

  • gRace3626
    Asked on June 28, 2016 at 2:32 PM

    Hello,

    Never mind, got it now:)

     

    I'm creating a form that members of our congregation can fill out to provide information on each member of their household. I'd like to create a conditional logic of some sort that will enable a head of household to fill out information for up to eight children but so that the applicable fields will only show if he selects a certain number of children or if there is a button for adding another child. Are there any recommendations for a simple way to accomplish this?

  • Nik_C
    Replied on June 28, 2016 at 3:36 PM

    You can use the Configurable list widget and users would then add fields for every child instead of the conditions technique, you can also limit the number of children they can input. You can read about how you can  setup the Configurable list widget here.

    If however, you want to go with the conditions you will have to create a group of fields for every number of children from dropdown. After that you will create a condition for each choice from dropdown that will then show or hide multiple fields at once based on the choice.