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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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   1765 Views

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.


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).