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.

Widgets /

Discuss SilverStripe Widgets.

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

Redirect problem - Form in a Widget


Go to End


1841 Views

Avatar
Blackthorn87

Community Member, 34 Posts

17 December 2011 at 6:28am

Ok Guys,

I've managed to create a form inside a widget, and even get it all working, except for the redirect. What I would like is either to redirect to the same page that the form widget was on, with "?success=1" in url, or redirect to another page entirely. I'm almost there but just can't get it working exactly.

I have jQuery validation working, but will finish that once the redirect is working.

My php file is attached!

Thanks Guys!!

Attached Files