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 /

Validate w/o javascript - SS Demo


Reply


2 Posts   1144 Views

Avatar
Richie

Community Member, 18 Posts

19 May 2011 at 6:54pm

If I disable javascript and submit (empty fields!) the form on the SS demo:
http://demo.silverstripe.com/contact-us/

I get redirected to the homepage - instead of returning to the form.
Can I alter this behaviour in my forms with out-of-the-box validation?

Thanks!

Avatar
lx

Community Member, 83 Posts

28 July 2011 at 8:53pm

Hi Richie,

you could use the module NetefxValidator for any kind of php validation.
This modules give you much more possibilities of validation than just "required".
But its just for serverside validation.