Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hi
You're probably missing the ValidationSummary's ValidationGroup property. Usually this is set to XForm.
<asp:ValidationSummary ID="XFormValidationSummary" runat="server" ValidationGroup="XForm" />
Hope this helps
Frederik
Thank you, Frederik.
But the reason of my trouble was another. It was wrong action type specified ('Send e-mail' instead of 'Save to database') for submit button in the form properties. That's why validation did not work.
Hi,
I have migrated site from Episerver CMS 4.61 to 5 R2 SP2.
The pages with XForm give me parse exception - Unknown server tag 'EPiServer:TranslatedValidationSummary'.
I have replaced <EPiServer:TranslatedValidationSummary Runat="server" /> with <asp:ValidationSummary runat="server" /> (according to example from public templates for CMS 5) in the XForm.ascx. At the moment pages are loading normally. But validation summary does not appear if validation errors exist. What is wrong? What should be done to make validation summary working correct?
Thanks in advance, Vladimir