Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Validation of required fields in the xform editor - occurs in firefox



I'm having a major xform-headache trying to find a solution to this problem. Why are the required fields validating in the xform editor when the form is saved? Also, is there a fix for it?


May 21, 2012 11:05

You have a required field although the form is submitting even if you do not populate that field ?

May 21, 2012 13:16


In Firefox 4 and greater, there is built in validation for form fields. Unfortunately, EPiServer have been using an attribute “required” when editing an xform that now triggers validation of the actual form when trying to save it in the xforms editor. There is an easy fix for this though that can be applied in the EPiServerUI.Master file by adding the novalidate=”true” attribute to the form element:

<form id="aspnetForm" runat="server" novalidate="true">

This is fixed in EPiServer CMS 6 R2 so this information is valid for CMS 5/6 sites.


May 21, 2012 13:28

Thank you Linus. 

May 23, 2012 10:23
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.