< All Topics

Child Form

The Child Form widget is a powerful tool that allows you to incorporate different forms within a single parent form. This feature is particularly useful when you need to capture and organize related data in a hierarchical or nested structure.

A common scenario where Child Forms can be beneficial is when you have a main form that requires multiple entries or records of a similar type. For example, consider a “Building Details” form that needs to capture information about multiple floors. Instead of creating repetitive fields for each floor’s details, you can create a separate “Floor Details” form as a Child Form.

The Child Form acts as a reusable component that can be added to the parent form. This way, you can create a single “Floor Details” form and include it within the “Building Details” form. During the form-filling process, users can add multiple instances or records of the Child Form, effectively capturing details for each floor without the need for repetitive fields.

To set up a Child Form, you first need to create the Child Form itself, such as the “Floor Details” form in the example above. Once created, you can specify its relationship with the parent form, in this case, “Building Details.” This association allows the Child Form to be embedded within the parent form.

When designing the parent form, you can drag and drop the “Child Forms” widget onto the form canvas. This widget will enable you to add and configure the Child Form within the parent form. You can then set the properties of the Child Form, such as its parent form association and any other desired settings.

The beauty of Child Forms lies in their ability to simplify data entry and organization. Instead of cluttering the parent form with repetitive fields, users can easily add multiple instances of the Child Form, making the form-filling process more efficient and user-friendly.

Child Forms can be particularly useful in scenarios where you need to capture hierarchical or nested data structures, such as student information with multiple courses or subjects, project management with multiple tasks or milestones, or any other situation where you need to organize related data within a parent-child relationship.

Overall, the Child Form widget streamlines the form design process, reduces redundancy, and improves the user experience by allowing for the efficient capture and organization of related data within a single parent form.

 

https://axonator.com/knowledge-base/how-to-setup-a-child-form-in-axonator/

 

Table of Contents