Adding validations to fields

Validations can also be set while adding a new field to a content type. 

  1. On the Add field dialog, select the field type, the name, and the field ID. 

  2. Once done, click Create and configure to view the field editor dialog.

Validations: Add new boolean field

3. From the field editor, click the Validation tab in the top right and set constraints for this field.

Validations: Boolean field validation options

The available validation constraints for the Boolean field type

4. Click Save to close the field editor dialog once you are happy with the validation, then click Save in the top right corner of the content type editor to update the content type.

IMPORTANT: Changes will not take effect until the content type has been saved

Was this helpful?
add-circle arrow-right remove style-two-pin-marker subtract-circle remove