-
Bug
-
Resolution: Fixed
-
Major
-
1.4.8, 2.0.1
-
None
-
-
Empty show more show less
-
Saigon 29
-
5
There is a validation error when an empty field is validated.
Here are the step to reproduce:
- create a form
- add a non mandatory input text field with email validator
- submit the form with empty input text
- a validation error occurs: the input text is not valid
Looking at info.magnolia.module.form.templates.components.DefaultFormDataBinder i noticed that a field is validated if value != null. On previous version of form module the test was !StringUtils.isEmpty(value).
Acceptance criteria
- caused by
-
MGNLFORM-178 Form's Honeypot anti-spam - needed improvements
- Closed