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:

Form Questions /

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

Custom form validation message


Go to End


3 Posts   2381 Views

Avatar
Monty

Community Member, 19 Posts

7 July 2010 at 11:31am

Edited: 07/07/2010 11:32am

Hi there. I have set up a custom form with validation on my contact page. How do I change the validation message?

Thanks for your help.

Monty.

Avatar
Carbon Crayon

Community Member, 598 Posts

17 July 2010 at 11:17pm

Hi Monty,

The simplest way to do this is to use jQuery instead of the built in js validator, it gives you a whole lot more control.

Tutorial here:

http://www.ssbits.com/using-jquery-for-form-validation/

Hope that helps

Aram

www.ssbits.com - SilverStripe Tutorials, Tips and other bits

Avatar
Monty

Community Member, 19 Posts

18 July 2010 at 10:25am

Thanks for your time Aram. Much appreciated.

Cheers,
Monty