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   1814 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