November Happy Hour will be moved to Thursday December 5th.

How do I set the message to be displayed when a form field fails validation?

Vote:
 

I'm using the basic form elements provided out of the box, but I can't see where I can set the error message to be displayed for my different fields, when their regex validation is failed.

#194369
Jun 19, 2018 17:38
Vote:
 

David, Can you list which version of Forms you're using?

Also, does this forum Q & A help?  https://world.episerver.com/forum/developer-forum/-Episerver-75-CMS/Thread-Container/2017/8/episerver-form-custom-validation-message-for-each-field/

#194370
Edited, Jun 19, 2018 18:02
Vote:
 

That link demonstrates adding an attribute to a C# model but I'm using a form created by a content editor by dragging fields in. There isn't a model in code for this. Or am I misunderstanding the link?

#194371
Jun 19, 2018 19:31
Vote:
 

BUMP

#194436
Jun 21, 2018 10:12
Vote:
 

There is a feature in progress which allow editors set validation message for each field. But it is not released yet, we hope it can be released soon.

#194481
Jun 22, 2018 8:57
Vote:
 

Hello Dac, has the custom validation message feature mentioned above been released yet?

Thanks

#200095
Jan 02, 2019 3:32
Vote:
 

Hi Dac,

Your comment seems to have attracted some attention. We are currently working upon a client solution and they have requested this functionality.

Checking through the release notes I don't see any mention of the 'Validation' feature. Would it be possible to recieve a pre-release of this feature?

Thanks

Paul

#200802
Jan 25, 2019 9:54
Vote:
 

Hi,

The feature is in testing. We can release it in Forms 4.23 hopefully.

#200803
Jan 25, 2019 9:58
Vote:
 

Thanks Dac for the information, i'll keep an eye on the releases.

#200804
Edited, Jan 25, 2019 10:13
Vote:
 
#201468
Feb 20, 2019 9:42
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.