Jan 31st, 2010, 7:49 PM
Sure, no problem! What you can do is add a hidden field to your form like this:
That will store the URL of the page that it was redirected from. Then, add the new field to be stored in Form Tools.
One caveat: this will work on MOST servers but not all. Some servers don't populate that key in the $_SERVER variable. If the information isn't available there, we'll need to consider a more drastic approach...
- Ben
Code:
<input type="hidden" name="referer_url" value="<?php echo $_SERVER["HTTP_REFERER"]?>" />
That will store the URL of the page that it was redirected from. Then, add the new field to be stored in Form Tools.
One caveat: this will work on MOST servers but not all. Some servers don't populate that key in the $_SERVER variable. If the information isn't available there, we'll need to consider a more drastic approach...
- Ben