A form is the clearest test of a static site. The page can show the fields perfectly, but the moment someone presses Send, something has to receive a POST and do something with it. On a static host, nothing does.
This is why the major form plugins fail on the published site. The failure is expected. They are built to run inside WordPress, with a database, a nonce and an admin screen full of entries. All three are missing.
What the main form plugins do
| Plugin | Where it submits | What happens on the static site |
|---|---|---|
| Contact Form 7 | Its REST route with JavaScript, or the page itself without it | The request reaches a static host with no PHP. It 404s. The nonce and form ID in the markup are meaningless. |
| Gravity Forms | WordPress’s admin-ajax.php endpoint | 404. Entries, notifications, confirmations and add-ons all run server-side. |
| WPForms | admin-ajax.php | 404, on Lite and Pro alike. The form’s JavaScript expects a JSON reply that never comes. |
| Ninja Forms | admin-ajax.php | 404. Submissions, actions and the submissions table need WordPress. |
| StaticScope Forms | The chosen provider’s address | Works. The form is plain HTML with no nonce and no WordPress URL. |
None of these plugins has a supported “post somewhere else” switch for the front end. Some have webhooks or integrations, but those run on the server after the entry is saved, so they do not remove the need for PHP at submit time.
What the Forms add-on does differently
The Forms add-on renders a normal HTML form whose action points at a service. WordPress is not involved when someone submits. There is no nonce, no admin-ajax call and no entry in the database. That is the whole trick, and it is why the form keeps working after the site is files.
It offers three providers. Web3Forms needs a public access key and works on any host. Netlify Forms needs the site to be deployed on Netlify. A custom endpoint is your own API, Cloudflare Worker or Lambda function. The provider is site-wide; change it and rebuild, because the form markup carries the address.
With JavaScript, the form validates in place, sends with fetch, shows a success or error message and keeps the button’s focus. Without JavaScript, the browser validates and posts normally, and a success page takes over. The no-JavaScript path is not a fallback bolted on afterwards; it is the same markup doing what HTML forms have always done.
There is also a build report. After a build, the Forms screen lists every form in the prepared files, the page it is on and where it sends submissions. Forms that were not made with the block are flagged as third-party, which is how a Contact Form 7 form that will fail gets noticed before a visitor finds it.
One detail matters if you use a custom endpoint on the WordPress site. StaticScope rewrites every URL to the published address, which would break an endpoint like https://example.com/wp-json/my/v1/contact. The add-on swaps the action, the AJAX address and the redirect field for tokens before the rewrite and puts them back afterwards. That protection only applies to forms carrying data-staticscope-form.
Can you keep another plugin and post to a service?
Sometimes, with caveats. A form service such as Formspree, Basin or a similar endpoint accepts a POST from any HTML form. If you can change the rendered form’s action and field names, the submission can go there, and the page stays static. What you lose is the plugin’s entry storage, its confirmation logic, its conditional fields and its notifications, because those lived in WordPress. The service owns the entry now.
That can be a reasonable migration for a simple contact form. It is a poor fit for a form with conditional logic, multi-page steps, file uploads or payments. Those need a form service that supports them, or a dynamic WordPress form, not a rewritten action attribute.
Posting from the static page back to the WordPress site is the option people ask about next. It can be made to work with a custom endpoint that allows cross-origin requests, but you then need to handle nonces, spam and failures across two origins, and the WordPress site has to stay public. A dynamic subdomain or a hosted form service is less fragile.
Spam and validation
Client-side validation is a courtesy, not a defence. Anything that runs in the browser can be skipped. The checks have to happen where the submission lands.
- Honeypots. Every add-on form has a hidden field bots tend to fill. It catches naive bots and nothing more.
- Provider checks. Web3Forms adds its own spam filtering and hCaptcha on its free plan. Netlify uses its own filtering. You are relying on their rules, so read them.
- Your endpoint. A custom endpoint owns validation, rate limiting, origin checks, field lengths and storage. It also owns the failure messages, because the form only knows what the endpoint returns.
- Secrets. The Web3Forms access key is a public form identifier and is safe in the page. An API secret is not. Never put one in a form or a static file.
- Privacy. Submissions contain personal data. Name the provider in your policy, collect only what you need and set a retention period where the provider allows it.
How to decide
Answer these in order. The first “yes” usually settles it.
- Do you need the entry stored in WordPress, visible in an admin screen and tied to a user or a shop order? Keep the form dynamic.
- Does it need conditional logic, multiple steps, file uploads or payments? Use a form service that does those, or keep WordPress.
- Is the form a simple contact, sign-up or waitlist? Use the Forms add-on.
- Are you on Netlify? Netlify Forms is the least setup. Anywhere else, Web3Forms is one key.
- Do you already run an API or a Worker? A custom endpoint gives you control and puts the spam problem on your side of the fence.
If the answer to the first question is yes, do not try to fake it with a static form and an email link. Keep those pages on WordPress, on a subdomain or behind a proxy, and let the public pages be static. A hybrid setup works; a form that silently drops enquiries is not.