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/
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?
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.
Hello Dac, has the custom validation message feature mentioned above been released yet?
Thanks
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
Thanks Dac for the information, i'll keep an eye on the releases.
The feature has been released https://world.episerver.com/blogs/dac-thach-nguyen/dates/2019/2/custom-validation-message-for-forms/
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.