[FormFlow] Invalid dates accepted
Pre-flight checklist
- I have searched the existing issues before logging a new one.
System Information (Required)
- SDK language (C#)
- 3.4.0
Issue Description
I have noticed the following dates are accepted and converted as follows when the last day of the month is incorrectly provided:
- 31 February 1980 - accepted & resolved as 2 March 1980
- 31 June 1980 - accepted & resolved as 1 July 1980
It appears as if these dates are resolved as valid dates. I assume that it is because this could be seen as a common human error, providing the incorrect last day of the month. However, I would like to validate this and tell the user that an incorrect date has been provided.
I have noticed that 32(+) February/March/.... yyyy is not resolved.
Expected Behavior
User types 31 February 1980 for a Date of Birth date. I expect and incorrect date but before I can validate the date, it is already changed to 2 March 1980.
Actual Results
An incorrect date 31 February 1980 / 31 June 1980 that I can validate and provide the user with a validation failed message.
FormFlow doesn't handle any input validation. You would need to configure a custom solution to handle the validation aspect of this scenario.