How can I create a form that allows a user to add another entry and pre-fill certain fields?

  • Profile Image
    Asked on March 17, 2017 at 09:59 PM

    I'm the developer for a non-profit youth camp, and in the past we've used a competitor of yours to build a form for a parent or guardian to fill out information for up to 3 children.  We set up the form to conditionally show another section to complete for each child along with a single 'Parent/Guardian' section that includes parent/guardian contact information, payment information, and an electronic signature.

    However, this would create 3 children on a single entry in the resulting spreadsheet.  I developed a script to read this spreadsheet and spit out a new spreadsheet with each child on his or her own row along with the 'Parent/Guardian' section copied for each child/row.

    I'm interested if you have the capability to, say, have a parent/guardian fill out the form for a single child along with the 'Parent/Guardian' section... and then at the end have the option to 'add another camper' and have all the 'Parent/Guardian' section already prefilled.

    Please let me know if this question is clear--I'd be more than happy to explain myself better as this is an important feature for our organization.

  • Profile Image
    Answered on March 18, 2017 at 08:06 AM

    To my understanding, you would like the respondents of your form to just fill up the "Parent/Guardian" contact information, payment information and electronic signature once, is that correct? Then, they should also have the capability to add up to 3 children.

    There are two workarounds, I believe, could match your requirements.

    First is with the help of the Configurable List Widget. Here's a guide on how to set it up: How-to-Set-Up-the-Configurable-List-Widget

    This workaround will lessen the number of fields required to be in your form. Since you will no longer need to have one set of "Parent/Guardian" contact information field for each child.

    The second workaround will require you to have three sets of "Parent/Guardian" contact information but you will only have to fill up one. You can set up a condition in your form saying that if the fields of the first contact information are filled then pass the data to the other sets of contact information in the form.

    I hope this helps. If, in any case, I have misunderstood your concern, please feel free to let us know and we will be glad to help you. If you can also share us the form you're planning to enhance and recreate here in Jotform, please do so. And please provide us a clearer description of what you require to happen in your form that is not happening in the form you are using.

    Thank you.