Form submit handling
-
Does anyone know why add_action(‘init’) would give a 404 error page when submitting a form. I created a shortcode snippet that has a form. When I go to submit the form, the data is processed but the page shown is a ‘page not found’ page. In my action attribute I have tried PHP_SELF and absolutes.
How can I process the data and have it go to a real page or thank you page etc.? Is the action ‘init’ the correct one to use? Is there some kind of routing issue?
The topic ‘Form submit handling’ is closed to new replies.