Validation on Form Save

Rules are: required-and-empty gives "<Label> is required"; a URL must parse to a safe web address; text and textarea must sit within the Minimum/Maximum characters when Limit character length is on; a number must be numeric, whole when decimals are off, and within Minimum/Maximum. Validation runs only when a Form container's Save is pressed.

The Input configuration dialog with Input type set to Number, Allow decimal values switched on, empty Minimum and Maximum boxes and Required switched off.
A number field's decimal, minimum and maximum settings are what an answer is checked against when the form is saved.

#Where you do it

Task

Where

Publish the page and fill the form in

The published Confluence page


#Worth knowing

  • Validation runs only on a Form container's Save. A standalone Input macro autosaves and is never validated, so Required, character limits and number bounds are silently unenforced there.



How it actually behaves.