Forms

Collect data from your users with forms that add new records to your tables

Each Collection View comes with a form that you can use to create a new record that will be added to that table. Each form can be customized by

Changing the form header

By turning on Build Mode you can customize the form's header and subtitle in the Header section of the editor sidebar. The Subtitle section supports Markdown to allow you to style your content as you like it

Customize the form Fields

By turning on Build Mode you can customize the form's fields by turning on or off any of the fields. Noloco automatically shows you the fields in your table.

You can customize each field by hovering over the field and clicking the Edit icon. This will open the field's configuration editor where you can change things like the label, the help text, the default value, the field's display type (if any) and any validation rules or conditional visibility rules.

Adding a section to your form

You can add sections to your form to logically group parts of your form. Each section supports it's own title and subtitle which can provide context to the section, but sections can also have their own conditional visibility rules, allowing you to quickly show or hide all fields in the section

Read more about conditional visibility

Field Validation Rules

Validation rules are a great way to ensure that your form fields contain the right data before they're saved. This means you can guarantee the integrity of your data, and help your team avoid making mistakes.

You can add validation rules to any field, the rules available will depend on the field type, for example:

  • Text Fields:

    • Text length: specify the length must be less than, greater than or equal to a value

    • Text value: specify the text value must equal to, contain or not equals a value

    • URL: the value must be a url or domain name

    • Email: the value must be a valid email

    • IP address: the value must be an IP address

    • Pattern match: the value must match a regex pattern

  • Number fields

    • The value must be less than, greater than or equal to a value

  • Date fields

    • The value must be less than, greater than or equal to a static or dynamic date

There are more field types with their own custom rule types

Field Visibility

To customize the flow of your form you can specify field visibility rules on each field.

For example, you might want to hide the Notes field if the customer's status is Inactive to make the form experience easier on your team or clients.

Form Field visibility is fully explained here

Last updated