XForm-Validation Summary Custom Error Messages

Vote:
 

Hi

i am using XForm with some validations.When i click on Submit button i am getting validation summary with messages like

  • You haven't specified all required fields
  • You haven't specified all required fields
  • You haven't specified all required fields

But i want custom messages here like "Title is Required" instead of default messages.

Is it possible?

 

Thanks

Atul

#48783
Feb 16, 2011 7:38
Vote:
 
#48785
Feb 16, 2011 8:18
Vote:
 

You can hook into the ControlsCreated event (see global.ascx.cs) and change the validation controls there. See http://www.frederikvig.com/2010/11/semantic-markup-with-episerver-xforms/ for more information.

Hope this helps.

Frederik

#48828
Feb 16, 2011 14:12
* 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.