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.

Form Questions

Custom form validation message


Reply

3 Posts   1787 Views

Avatar
Monty

7 July 2010 at 11:31am (Last edited: 7 July 2010 11:32am), Community Member, 19 Posts

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

17 July 2010 at 11:17pm Community Member, 598 Posts

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

18 July 2010 at 10:25am Community Member, 19 Posts

Thanks for your time Aram. Much appreciated.

Cheers,
Monty