-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X
-
Fix Version/s: 7.0.0 DXP FP40, 7.0.0 DXP SP7, 7.0.5 CE GA6, 7.0.X
-
Component/s: Dynamic Data Lists > Form
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
Description of Issue:
When having a form field that utilizes validation for numbers, it accepts letters as well.
To Reproduce the Issue:
1) Create a new form (generic form from Liferay Forms and Workflow suite)
2) Add a Text Field and name it "Age"
3) Scroll down (or click on "Properties" in Master) and enable Validation
4) Set Validation to "Number" and "equal to or greater than" with a value of "0" (see attached screen shot). Basically, we're validating the age to be greater than 0. (NOTE: In Master, this option is not available)
5) Save new form
6) Add form to a page and select the new form that was just created
7) In the "Age" field, enter a letter or word (not a numeral)
8) Submit form
Results of Testing:
Expected Results: Should receive a validation error and form not submitted
Actual Results: Form successfully submits
Reproduced:
- Branch = Reproduced (942f2f53c3aa4057f09829c279687b5f935feffb)
- Master = Not Reproduced (f82efee57869490291d19af5c94622764eb8e900); not reproduced in Master because validation options have changed