Try our conversational search powered by Generative AI!

Customised Validation in EPiServer Forms

Vote:
 

Hello,

I am trying to implement a customised text box with validation as part of the EPiServer Forms. I have managed to create this, using EPIServer's validation (Email & Required options) to enchance this, but when I type in a invalid email address, the below error mesage pops up.

Validation failed on "CustomTextBoxBlock" field: Enter a valid email address.

What I initally want to do is hide away the "on CustomTextBoxBlock" field" part of this validation as this is not what users should see. I have looked into the EPiServer.Forms_EN.xml, removed the Validation failed and

 

Yet the full error message stipulated above still displays on the page after a invalid email address is entered. Can someone give me some advice as to how this can be fixed please?

Thanks

Anil Patel

#145133
Feb 25, 2016 15:50
* 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.