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:

All other Modules /

Discuss all other Modules here.

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

Userforms - Referrer?


Go to End


1168 Views

Avatar
Garrett

Community Member, 245 Posts

16 March 2011 at 10:03am

Hi,

How does the "referrer" querystring work in the UserForms module? I have a hidden input in my form page called "referrer" that is set to the current URL (verified in source), but as soon as the form is successfully submitted and redirects to "/finished", $referrer is returning empty. I need to redirect tot his page in the template at this point and I can't figure out how to do this. Just protecting/preceding a page with a form is all.

Thanks,
Garrett