Guides › HTML / PHP sites › Forms, plugins & updates

HTML Form Not Submitting: Missing Action, Method or Name Attributes

Most dead forms lack an action address, a method or field names.

Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.

Checklist

  1. The <form> has an action pointing to a real handler (a PHP file or service) and a method (post for most forms).
  2. Each input has a name attribute. Fields without a name are not sent.
  3. The submit control is a button type submit inside the form.
  4. A required field with an invalid pattern may silently block submission in the browser.
  5. JavaScript may be preventing the submit. Check the console. See reading the browser console.
  6. The handler returns a response, not a blank page or error. See seeing PHP errors.

Static sites without a backend can use a form service. See How to Add a Contact Form to a Static HTML Website Without Writing PHP.

Related guides

Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.

Last updated 2026-11-21.