Required fields and character or number limits are being ignored - people are saving anything

What you are seeing

Required fields and character or number limits are being ignored - people are saving anything.


#Why it happens

The fields are standalone Input macros, not fields inside a Form container. Standalone fields autosave 800 ms after typing and are never validated.


#What to do

Wrap the fields in a Form container macro. Validation only ever runs when a Form container's Save button is pressed.

The Input configuration dialog with Input type set to Textarea, Limit character length switched on, empty Minimum characters and Maximum characters boxes and Required switched off.
Minimum and maximum characters only apply while Limit character length is switched on for that field.

#Limits that apply here

Limit

Value

What happens

Indexed property size cap

28,000 characters

The per-page index of answers is capped. Over the cap, multi-value answers are first truncated to their first 5 entries; then whole forms are dropped from the index; and if it still will not fit, the


#A few things that catch people out

  • Form ID is documented as required but nothing stops you saving the config without it - the macro just renders an error box on the page.



Found it? Good.