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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Form Questions /

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

Validate w/o javascript - SS Demo


Go to End


2 Posts   2114 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.