I have a form. Simplified it looks like this:
`
`
The page that the form submits to is the same as itself ie https://www.somedomain.com/url.php is the form that the page is on. The page also has other forms on it.
When a form on this page is submitted, I use
if (isset($_REQUEST['Go'])) {}
to check if that form was submitted and then carry out actions.
This works just fine, except when I try and do the same thing by inserting the code into a wordpress page and change the action address of the form to https://www.somedomain.com/permalink which is the permalink URL of the page that I’ve insterted the code into. The page no longer seems to get the $_REQUEST. Is wordpress blocking this global variable and if so what is the best workaround?
Tried everything with no luck
user24956159 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.