Skip to content

Required and Read-Only Fields

Public forms can make fields required or read-only.

These decisions should support the user's task without making the form unnecessarily difficult to complete.

Required Fields

Use required fields when the answer is genuinely needed to process the submission.

Avoid making fields required only because the information would be nice to have. Every required field increases the chance that a user cannot complete the form.

Read-Only Fields

Use read-only fields when information should be visible to the user but not editable.

This is useful for prefilled information, reference values, or data that should be confirmed but not changed through the form.

Validation Expectations

Frontend requirements help guide the user, but important rules should still be checked when the submission is processed.