Affects Version/s: 7.0.X
The Number Validation for Forms shows a default message when entering invalid text even with the existence of a custom error message.
Steps to Reproduce:
- Create new form with a text field with number validation (>0)
- Enter a custom error message for the field validation.
- Save form
- Add new form to Forms portlet
- Enter invalid text to get the validation to fail and show validation error message.
The error message shown is the same the author has written when creating the form.
The error message is a default message, which authors cannot modify.
Reproducible in Branch
Not Reproducible in Master
Number validation appears to have been removed. If we use the related Regex option, we get the expected behavior.