Recording the referer page

In this article we are about to show you how you can record the page that user viewing before the submission of the form was made.

In order to achieve this just place the following code in the "Scripts" tab, on "Scripts called on form display" area:


This can also be used as a default value for a hidden field for example:

return $_POST['form']['field_name'];