# Success and errors Set redirects for form success and failure, handle JSON responses in JavaScript forms, and read every Form Plume submission error code. What happens after someone submits your form depends on how the form was sent. - A plain HTML form **always navigates to another page**. - A JavaScript form that asks for JSON **stays on your page** unless your code redirects it. ## Plain HTML forms always redirect A normal browser submission receives a `303` redirect from Form Plume: ```html