I have created a custom user field as follows

  DisplayName="My Editors"

added it to my content type

  <FieldRef ID="{9B49F1A5-7FFB-400B-9B0E-0FC4D6C1417C}" Name="AMtalatFieldEditors" DisplayName="My Editors" Required="TRUE" Customization="" ShowInNewForm="TRUE"/>

add it to the page layout

 <div id="editorsDiv">
            <SharePointWebControls:UserField ID="AMtalatFieldEditors" FieldName="AMtalatFieldEditors" runat="server" />

I edit a page and change the page layout to the mine and fill out the user field and click on Save. But the value of user field is disappeared and when I click on Check in, it says: Error: you have to fill out the required property and when I click on "OK" it redirects me to the page to fill the properties. it seems I never can check in my pages.

  • I am facing the same problem.... Can anyone help us?
    – user24635
    Mar 25, 2014 at 13:49

1 Answer 1


This is issue with the browser HTML5 validation I believe. The way to get away is either ensuring to click save button without or before validation fires and other is to amend changes using SP designer.

  • Uhm, how could this possibly be an HTML 5 issue? Mar 25, 2014 at 14:34
  • Well thats not issue with HTML5, but the behaviour of HTML5 required validation is not addressed properly while saving in SP
    – stak
    Mar 25, 2014 at 14:55
  • Html5 validation is not involved in any part Mar 25, 2014 at 15:12
  • You no need to write for HTML5 validation, it takes places when you have a input tag with required, and in this case the FieldRef has Required="TRUE". If you inspect element you could see required attribute.
    – stak
    Mar 25, 2014 at 16:14
  • My problem was, there was anothoer required field which was filed out. so it was why I got this error. It was not the user field problem. If you have another field which is required and is empty your value to userfield will not be saved.
    – Medes
    Mar 26, 2014 at 11:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.