{"id":2687,"date":"2024-12-03T17:57:15","date_gmt":"2024-12-03T17:57:15","guid":{"rendered":"https:\/\/articles.alpha.canada.ca\/forms-formulaires\/?page_id=2687"},"modified":"2025-12-30T21:05:00","modified_gmt":"2025-12-30T21:05:00","slug":"repeating-sets","status":"publish","type":"page","link":"https:\/\/articles.alpha.canada.ca\/forms-formulaires\/repeating-sets\/","title":{"rendered":"Allowing for multiple entries in a form"},"content":{"rendered":"\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>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).<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-add-and-configure-a-repeating-set\">How to add and configure a repeating set<\/h2>\n\n\n\n<p>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.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-add-a-repeating-set-to-a-form\">Add a repeating set to a form<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create a form in&nbsp;<a href=\"https:\/\/forms-formulaires.alpha.canada.ca\/en\/form-builder\/0000\/edit\">GC Forms<\/a>.<\/li>\n\n\n\n<li>In &#8220;Edit&#8221;, select &#8220;Add form element&#8221;.<\/li>\n\n\n\n<li>Select &#8220;Repeating set&#8221; from the &#8220;Other&#8221; section and &#8220;Add repeating set&#8221;.<\/li>\n\n\n\n<li>Name your set. This can be the category of things you&#8217;ll be asking (for example: &#8220;Addresses&#8221; or &#8220;Profiles&#8221;.<\/li>\n\n\n\n<li>Select &#8220;Add form element to set&#8221; and select what type of question to add. You can add multiple questions that will repeat together.<\/li>\n\n\n\n<li>Enter the question content.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-customize-the-repeating-set-buttons\"><strong>Customize the repeating set buttons<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Select &#8220;Customize repeating set&#8221;.<\/li>\n\n\n\n<li>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, &#8220;Address -1, Address &#8211; 2, Address &#8211; 3&#8221;).<\/li>\n\n\n\n<li>Configure the button text that people will see to &#8220;Add another ____&#8221; to their form answers (for example: &#8220;Add another address&#8221;).<\/li>\n\n\n\n<li>Configure the button text to &#8220;Remove ____&#8221; (for example: &#8220;Remove address&#8221;).<\/li>\n\n\n\n<li>Make sure to update English and French content accordingly.<\/li>\n\n\n\n<li>Test your form to make sure it works as intended.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-specify-a-maximum-number-of-answers-that-can-be-added\"><strong>Specify a maximum number of answers<\/strong> that can be added<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click on the &#8220;Set name&#8221; to focus on the entire repeating set.<\/li>\n\n\n\n<li>In the menu, select &#8220;More&#8221;.<\/li>\n\n\n\n<li>In the &#8220;More options&#8221; modal, add a maximum number of answers that users can provide for this question or set.<\/li>\n<\/ol>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Note: <\/strong>The maximum number of entries or instances that can be added by users in one repeating set is 50.<\/p>\n<\/blockquote>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-group has-background\" style=\"background-color:#5c4ea2\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading has-text-align-center has-white-color has-text-color has-link-color wp-elements-7d5a092a42fd10f23616edc960f11755\" id=\"h-didn-t-find-what-you-re-looking-for\">Didn&#8217;t find what you&#8217;re looking for?<\/h2>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-26 wp-block-buttons-is-layout-flex\">\n   <div class=\"wp-block-button is-style-outline has-text-align-center has-custom-font-size has-regular-font-size\" style=\"font-style:normal;font-weight:400\">\n      <a href=\"https:\/\/forms-formulaires.alpha.canada.ca\/en\/form-builder\/support\" target=\"_blank\" aria-labelledby=\"Contact the support team\" class=\"wp-block-button__link has-primary-blue-color has-white-background-color has-text-color has-background wp-element-button\" style=\"margin-top:16px;border-radius:6px;padding-top:6px;padding-right:16px;padding-bottom:6px;padding-left:16px\" rel=\"noopener\">Contact the support team<img decoding=\"async\" src=\"https:\/\/articles.alpha.canada.ca\/uploads\/sites\/11\/2023\/09\/external-icon-1.svg\" style=\"margin-left: 8px;height:20px;width:20px\" alt=\"\" aria-hidden=\"true\"><\/a>\n   <\/div>\n<\/div>\n<\/br>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>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\u2026 <a class=\"read-more\" href=\"https:\/\/articles.alpha.canada.ca\/forms-formulaires\/repeating-sets\/\">Read more<span class=\"wb-sl\"> of Allowing for multiple entries in a form<\/span><\/a><\/p>\n","protected":false},"author":235,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2687","page","type-page","status-publish","hentry"],"slug_en":"repeating-sets","slug_fr":"ensembles-recurrents","id_en":2687,"id_fr":2697,"lang":"en","_links":{"self":[{"href":"https:\/\/articles.alpha.canada.ca\/forms-formulaires\/wp-json\/wp\/v2\/pages\/2687","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/articles.alpha.canada.ca\/forms-formulaires\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/articles.alpha.canada.ca\/forms-formulaires\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/articles.alpha.canada.ca\/forms-formulaires\/wp-json\/wp\/v2\/users\/235"}],"replies":[{"embeddable":true,"href":"https:\/\/articles.alpha.canada.ca\/forms-formulaires\/wp-json\/wp\/v2\/comments?post=2687"}],"version-history":[{"count":13,"href":"https:\/\/articles.alpha.canada.ca\/forms-formulaires\/wp-json\/wp\/v2\/pages\/2687\/revisions"}],"predecessor-version":[{"id":3271,"href":"https:\/\/articles.alpha.canada.ca\/forms-formulaires\/wp-json\/wp\/v2\/pages\/2687\/revisions\/3271"}],"wp:attachment":[{"href":"https:\/\/articles.alpha.canada.ca\/forms-formulaires\/wp-json\/wp\/v2\/media?parent=2687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}