Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Form Errors


Go to End


2 Posts   1870 Views

Avatar
Nathan Cox

Community Member, 99 Posts

8 June 2007 at 1:19pm

What I'd like to see is a way to put custom error messages into forms made in the CMS.

For example, if you're making an email field for a contact form, when you click "More options" there would be a text box for each validation rule the field has (in this case "required" and "email"). You could type in your own error messages for everything that can go wrong, to make sure they're in tone with the rest of the content, or leave them blank to use defaults.

Avatar
Fuzz10

Community Member, 791 Posts

24 September 2007 at 10:38pm

Edited: 24/09/2007 10:48pm

Is there a quick hack to achieve different error messages without going through the Validation.js or forms directory ? (For a Multilingual site).