-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X
-
Fix Version/s: 7.0.0 DXP FP71, 7.0.10.11 DXP SP11, 7.0.X
-
Component/s: Forms
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
Steps to reproduce de issue:
1. Add a new form with a date field.
2. Publish the form.
3. Enter a valid date using the date picker.
4. Select the text the date picker entered in the field.
5. Write 'hello' instead.
6. Send the form.
Expected result : you get an error message telling you entered an invalid date.
Current result :
No error message is showed.
If you have a look at the new entry you just created for the form, you will see that the current date has been saved. This is because of when an invalid date is entered it is converted to current date and then it is sent.
The fix consists in avoiding to enter letters; so, only numbers and slash characters are allowed. Also, the date length is limited to 10 characters: MM/DD/YYYY
If user enters an invalid date (as 00000000) it will be converted to current date and will send to server.
- is demanded by
-
LPS-90920 When a required forms' date field is deleted it is not validated
- Closed