Creating VBS registration form

  • Profile Image
    Alex Cole 
    Asked on April 12, 2016 at 01:28 PM

    To whom it may concern, I am creating a registration form for parents to enroll their children for our church's Vacation Bible School. As many of the parents will have more than one student attending, I would like to create two-part form so that parents can enter their information once, then enroll each student without having to complete their information again (obviously this helps to cut down on data errors when entering the same data multiple times).  Is there a way to have a child-form embedded into a parent form that can be instantiated n times based on a drop-down box (i.e., when selecting the number 4 from a list for the number of children participating, the child-form is displayed 4 times)?

  • Profile Image
    Answered on April 12, 2016 at 02:43 PM

    It would be possible to achieve this effect in few different ways.

    1. Cofigurable list widget

    - A very powerful widget that allows you to "copy" multiple fields at once so you set up one row of fields, and each time you press + you get another just like it. This would basically allow the parents to add any number of children details in there and be filling out just a single form.

    You can get it from here: Configurable list

    The following guide might help with the same:

    How to Add a Widget to your Form

    How to Set Up the Configurable List Widget

    2. By URL prepopulation

    Basically you could set up one form as you like it and then based on the setup you could take parents that say they have 2 or more children over to the same form + pass their data over again - minus a child count.

    So if they say that they have 3 children, you pass the value and set the value from 3 to 2 (for example) and pass it again until it reaches 0. This would allow you to add much more styling to your form fields. It is also possible to have a hidden field that passes the value of how many loops to do instead (so that parents see that they have the same number of children each time).

    This is a great way to avoid errors and keep each child entry on its own form, while avoiding the issues in passing data.

    Guides that would be of help:

    Prepopulating fields to your JotForm via URL parameters

    How to Pass Values to the Text Area of a Form via URL encoding

    How to find Field IDs & Names