I have used SharePoint Designer to edit a publishing page and insert a new item form inside the page. This saves new items in a custom list. The form works perfectly except for a date field. I have 3 mandatory (requires a value) fields. One is a simple line of text, one is multiple lines of text and one is a date field.
If I leave the fields blank the form comes back after submission with the text fields highlighted with red text saying "You must specify a value for this required field." But there is no text under the date field, even though it has been set as a mandatory field in the custom list.
When I create an item from the list itself, rather than this publishing page, the form validation works correctly and the date field has this text under it in red "You can't leave this blank".
I have tried putting incorrect data such as text in the date field on the publishing page embedded form and that validation does work with a message coming back of "You must specify a valid date within the range of 1/01/1900 and 31/12/8900". But it lets the form submit successfully when the date field is left empty.
Is there a reason why the date field required value validation fails on the publishing page embedded new item form?