Toolset allows you to create front-end forms for submitting and editing post information using repeatable field groups.

In Toolset, front-end forms are created using the Forms plugin. When you create repeatable field groups they will appear as a separate post type when creating the form.

For example, let us say you have a post type called “Houses” and a repeatable field group for “Rooms” that belongs to each house. You can create a separate form that allows users to add “rooms” to existing houses.

Creating a Form for Repeatable Field Groups

To create a form for creating repeatable field groups, use the following steps.

  1. Go to Toolset -> Post Forms and click the Add New button.
  2. After naming your form, use the Post type to create/edit to select your repeatable field group.

Please note that the status of content created using forms for repeatable field groups can only be that of “published.”

  1. Select what happens after visitors submit this form. A good option is to keep displaying the form. This will allow users to add more repeatable field groups. Please note that currently, there is no way to add multiple repeatable field groups from one front-end page (in one go).
  2. Forms drag-and-drop editor will automatically create a basic form for you. Please note that only if you mark the fields from your repeatable field group as required, they will be automatically added to the form. Otherwise, use the editor to manually add fields from your repeatable fields group.
  1. When done, click to finish and save your form.

You can now insert the form into any page and allow users to submit information using the repeatable field groups.

Forms for Editing Values of Existing Repeatable Field Groups

To edit the values of an existing repeatable field group, use the following steps.

  1. Go to the Toolset -> Post Forms page and click the Add New button.
  2. Give your form a name, select the Edit existing content option and from the Post Types to create/edit dropdown menu select the repeatable field group. Adjust other form options as needed.
  3. Forms drag-and-drop editor will automatically create a basic form for you. Please note that only if you mark the fields from your repeatable field group as required, they will be automatically added to the form. Otherwise, use the editor to manually add fields from your repeatable fields group.
  4. Create a new View and scroll to the Content Selection section. There, under Repeatable field group section select the repeatable field group.
  5. Add a Query filter that will filter results by Post relationship or repeatable field groups owner. In a Select items dropdown, select the desired repeatable field group and choose The post where this View is shown option.
  6. In the Loop editor section, click on Toolset Forms. In the dialog that appears, select your form in the Edit Post Forms section.

That’s it! You can now add your new View to a post (or a template) that has a repeatable field group whose values you want to edit.

Need help?

Go to the Getting Started support page, leave a comment and we will reply to you.

What’s next?

Publish Content from the Front-end