Title: Form submit handling
Last modified: August 20, 2016

---

# Form submit handling

 *  [bbarton](https://wordpress.org/support/users/bbarton/)
 * (@bbarton)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/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.

 * 0 replies
 * 1 participant
 * Last reply from: [bbarton](https://wordpress.org/support/users/bbarton/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/form-submit-handling/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
