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.

All other Modules /

Discuss all other Modules here.

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

Userforms - Referrer?


Go to End


1289 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