Restrict users to view custom form(s) without complete other formalities
Check the referring page using $_SERVER['HTTP_REFERER'] if it doesn't match the previous page either throw an error or redirect him to the first page.