Note: This feature is now built into the Episerver forms editor.

Don't use this script anymore.

Add page URL to referrer field in form

Useful if you want to use one form on many pages (for example, with Eloqua integration), but want to know which page the submit came from. The referrer field in Episerver is invisible.

1. Add the file "form_add_page_url_to_referrer_field.js" to the Script section of your page

2. Add a "free text " field in the form editor, with the name "refURL"