Working with sections in forms

This manual explains how you can work with sections in forms. With sections you have more control over which fields are shown. This way you can have some fields only for the back-end / administration purposes. You can also add the same form to 2 different places on your website with a slightly different set of fields.

The section field

If you add or modify a form field you can set the section it belongs to. If for one or more fields enter the same name in this field, then these fields belong to the same section. You can use this to adjust the display of the form on the website. Some examples:

Hide form fields on the website

One of the things you can do with section is selectively show fields on the website. In the example image you can see that some fields have been given the section "website" and one field the section "internal". If you only activate the section "website" in the display properties of the form on the website, only the fields from this section are shown. The field with the section "internal" can now only be entered in the back-end. You use this/these fields to add internal comment on submissions or keep administration.

Partially different forms

In the accompanying figure, you will see that 3 sections have been assigned: "both", "nonprofit" and "commercial". Suppose this is a registration form for companies. Then you can place 2 forms on your website. In the first form, for non-profit organizations, where you activate the sections "both" and "nonprofit": he fields that are meant for both types of companies and the fields that are shown specifically for non-profit organizations. In a second form, for commercial institutions, you activate the sections "both" and "commercial".

Because it is still 1 form, all entries are stored in the same list. This keeps the management in the back-end simple. At the same time you are certain that your visitors do not have to fill in any information that is not relevant to them.