Form validation cannot be numeric and 'not required'


My form field looks like this:

            validation: "numeric",
            value: "100"
            required: false

By my logic this should allow an empty field or any valid number but the validation fails when the field is empty ie. it doesn’t seem possible to have a numeric field that is not mandatory


This is the expected behavior.
as the “numeric” validation rule means that the field can only contain the number, while the empty string is not a number.
In your case you may try to create a custom validation rule.
You can find a tutorial here:


So what you are saying is that a non-required numeric field will force the user to enter a zero in that field?
That behaviour doesn’t seem correct to me