Gravity Perks – Nested Forms is a powerful extension for Gravity Forms that allows you to create forms with nested (or repeatable) groups of fields, making it ideal for scenarios where users need to add multiple entries related to a single form submission. It enables you to build forms that contain dynamically repeatable sections, such as product options, multiple addresses, or multi-step workflows, all while keeping the form submission clean and organized.
Key Features of Gravity Perks – Nested Forms:
- Repeatable Sections:
- The Nested Forms plugin allows you to create sections within your forms where users can dynamically add multiple entries. For example, a user could add multiple addresses, multiple items in an order, or several participants for an event.
- Users can add or remove rows of fields based on their needs, without having to submit multiple forms or fill out repetitive information.
- Nested Form Integration:
- You can embed one Gravity Form inside another, meaning you can have a parent form with multiple nested forms. This is particularly useful when you need to collect related data in a structured way.
- For instance, a parent form might be for an event registration, and the nested form could collect information about attendees or specific event details.
- Dynamic Field Populating:
- Nested forms can be populated with dynamic field data, such as information entered in the parent form. This means you can carry over data from one part of the form to another, improving the user's experience and saving them time.
- Conditional Logic:
- Nested Forms integrates with Gravity Forms' built-in Conditional Logic, allowing you to show or hide nested fields or sections based on user input.
- For example, if a user selects "Yes" to a question about adding multiple participants, the form will dynamically show fields for adding the participant details.
- Easy Form Management:
- Each entry of the nested form is saved individually, but all entries are tied to the parent form submission. This ensures that each "child" submission remains linked to the main (parent) submission, simplifying data organization and management.
- You can view, edit, and manage nested form entries within the WordPress dashboard, similar to standard Gravity Forms entries.
- Customizable Add/Remove Buttons:
- You can customize the labels and appearance of the buttons that users click to add or remove nested form fields. This gives you flexibility to fit the design and tone of your form.
- Seamless User Experience:
- Users can add and remove nested fields without refreshing the page or submitting the form. The fields update in real-time, making the experience smooth and interactive.
- Multiple Field Types:
- Nested Forms support a wide range of field types, including text, number, email, date, and file upload fields. This gives you the flexibility to design complex forms with varied data inputs.
Benefits of Gravity Perks – Nested Forms:
- Enhanced Flexibility: The plugin is perfect for use cases where you need to capture multiple sets of data under a single submission. For example, a job application form where multiple positions or qualifications need to be entered by the same applicant.
- Improved Data Organization: All the data from the nested forms is tied to the main submission, keeping everything organized and easy to manage in the backend.
- User-Friendly: Users can easily interact with the form, adding as many entries as needed without navigating away from the page or submitting multiple forms.
- Customization Options: You can customize the form appearance, logic, and behavior to meet specific needs, ensuring it fits your site’s design and functionality.
Common Use Cases for Nested Forms:
- Event Registration: Users can sign up for an event and add details for multiple attendees (e.g., family members, colleagues).
- Order Forms: For businesses offering multiple products or services, users can add different items to their order, each with different product options or customizations.
- Job Applications: Applicants can list multiple positions they are applying for, each with unique details like qualifications, previous experience, etc.
- Survey Forms: Collect data on multiple items or aspects (e.g., customer feedback for different product categories), allowing respondents to fill out several sections under one form.
- Project or Task Submissions: For project management sites or internal tracking systems, you can collect multiple projects, tasks, or milestones under one user submission.
How to Use Gravity Perks – Nested Forms:
- Installation:
- First, purchase and download the Gravity Perks – Nested Forms plugin. Then, install it in the WordPress dashboard either by uploading the plugin file or installing directly from the Gravity Perks plugin portal.
- Create a Form:
- Create a new Gravity Form or edit an existing one. Add a Nested Form field to your form.
- Add Nested Fields:
- Inside the Nested Form field, you can define the fields that should appear inside the nested form (e.g., text fields for a name, email, address, etc.). These are the fields users can add multiple times.
- Set Conditional Logic (Optional):
- Use Conditional Logic to control when the nested fields are shown or hidden based on the user's inputs. For example, if a user needs to add more participants, the nested form section can appear when a specific checkbox is ticked.
- Customize Add/Remove Buttons:
- Customize the labels and design of the buttons that users will click to add or remove nested fields. This allows you to tailor the user interface to your site’s design.
- Publish:
- After configuring the form, test it to ensure everything works as expected. Once satisfied, publish the form on your website.
