Try our conversational search powered by Generative AI!

Changing xForm error messages and making them unique per language

Vote:
 

I'm trying to create a xform.

If I check "Value must be entered", I cant find the box where I can input the error message I want. All I get is "This field is required" and I'm not able to assign it a CSS class for the error message.

I have tried editing the xForm in a text editor and added
<xforms:alert>* invalid</xforms:alert>
and imported it, but then EPiServer removes the alert.

How do I change it?
And how do I do a translation of this xForm for other languages?

Thanks,

Neil

#31681
Aug 06, 2009 17:14
Vote:
 
You can find the different messages in the language files (languageEN.xml, languageNO.xml etc). The xforms messages is located at the end of the file, under the /xforms/requiredfield node.
#31753
Aug 11, 2009 12:06
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.