NonJS: DateTime saved although invalid format

Found in

EPiServer.Forms.Samples 3.3.2

Fixed in

EPiServer.Forms.Samples 3.3.2

Created

Jul 03, 2017

Updated

Jul 10, 2017

Area

Form Samples

State

Closed, Fixed and tested


Description

Steps to reproduce

1. A form with a DateTime (time picker) element and a Submit button is created and added to Page1.
2. Open Page1 in ViewMode in NonJS mode.
3. Enter the date in the format 07/03/2017.
4. Submit the form.

Expected: Validation msg is shown. User is not allowed to save.
Actual: You can submit successfully. Data of 00:00:00 is saved on Submission Form View.

    • the same as DateTime Range