Datetime prefilled in YYYY-MM-DD format instead of MM/DD/YYYY

Found in

EPiServer.Forms 4.5.0

Fixed in

EPiServer.Forms.Samples 3.3.2


Apr 19, 2017


Jul 10, 2017


Closed, Fixed and tested



  • Marketo connector and Marketing automation packages are installed.
  • A form1 (contains Date time - Date picker- element, mapping to any field in Marketo) is added to page1.

Steps to reproduce

1. Open page 1 in view mode.
2. Select any date from Date picker dialog (e.g., 04/12/2017).
3. Submit the form.
4. Refresh page1.

Expected: 04/12/2017 is shown in Date picker
Actual: 2017-04-12 is shown.

5. Do not change the Date value. Submit form.
Actual: Cannot submit form, " Unexpected value is not accepted" message is shown.