I have a form containing a numberInput, i would like the value to be empty (null) by default, but not allow null as a valid imput when validating on form submission
Is this possible?
Goal:
let the user explicity fill in 0 (or another number) and being able to warn/ notify them if they missed filling in this field.
Issue:
either the field is not empty by default, containing the zero (if Allow null validation is unchecked),
or the validation rule accepts null as a valid imput on submission (if Allow null validation is checked)
Hi @Evelijn, have you tried have both the Allow null validation and the Required validation? The allow null validation should let you set the default value as null, but the required validation enforces that you input a value for form submission.
I indeed thought about that a bit after i added my question, i think i was mostly confused about allow null being a validation rule rather than a property of the input like nr of decimal places