When creating online forms, sometimes you might need to allow people filling out the form to add multiple instances of an answer, especially when a question involves repeated information (for example: multiple phone numbers, all previous addresses, or a series of questions that repeat for each dependent).
In GC Forms, repeating sets can group multiple form elements together into a set that is repeated as many times as needed by the user. This provides a place to enter different answers for multiple instances of the same questions, offering flexibility when filling out the form.
How to add and configure a repeating set
If you determine that a question requires people filling out the form to provide multiple answers, or if a group of questions needs to be repeated, use a repeating set to collect this information.
Add a repeating set to a form
- Create a form in GC Forms.
- In “Edit”, select “Add form element”.
- Select “Repeating set” from the “Other” section and “Add repeating set”.
- Name your set. This can be the category of things you’ll be asking (for example: “Addresses” or “Profiles”.
- Select “Add form element to set” and select what type of question to add. You can add multiple questions that will repeat together.
- Enter the question content.
Customize the repeating set buttons
- Select “Customize repeating set”.
- Give a name to the entry, describing what is being asked multiple times. This will be used to number each instance or entry added when filling out the form (for example, “Address -1, Address – 2, Address – 3”).
- Configure the button text that people will see to “Add another ____” to their form answers (for example: “Add another address”).
- Configure the button text to “Remove ____” (for example: “Remove address”).
- Make sure to update English and French content accordingly.
- Test your form to make sure it works as intended.
Specify a maximum number of answers that can be added
- Click on the “Set name” to focus on the entire repeating set.
- In the menu, select “More”.
- In the “More options” modal, add a maximum number of answers that users can provide for this question or set.