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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Widgets /

Discuss SilverStripe Widgets.

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

Redirect problem - Form in a Widget


Go to End


1231 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