On this page
What this issue is
Every HTML form has an action attribute. It is the web address that receives the data when someone clicks submit. If that address is on a different domain from the page, the form is a cross-domain form.
Cross-domain forms are often normal. Many CRMs and email tools give you a form that posts to their servers. The problem starts when the target is unexpected, old, misspelled, or not secure. Browsers can then show a warning, such as a message that the information you are about to send is not private, or a Safe Browsing style flag on the destination. Security plugins and ad platforms may also treat the page as suspicious.
Why it costs you leads or sales
Visitors who see a browser warning on a form usually stop. Even without a warning, a flagged destination can break the submission: the browser may block the post, or the other server may reject it. You then lose the lead and often never see an error, because it happens in the visitor's browser.
- Ad or search clickVisitor lands on your page
- Fills in formDetails entered
- Submit to other domainBrowser warns or blocks the post
- Lead in inbox/CRMNever arrives
- Thank-you page and conversion tagNever reached
The visitor reaches the form but the submission never completes.
Example: illustrative numbers only, showing how a warning on submit could cut completions.
How to check if your site has it
Open the page with the form
Use a normal browser window, not logged in as admin if you can, so you see what visitors see.
Inspect the form
Right-click the form, choose Inspect, and look for the
<form>tag. Read theaction="..."value.Compare the domain
Is it your domain, or a tool you use on purpose (your CRM, email platform or form builder)? Is it
https?Watch the Network tab
Open DevTools, go to Network, tick Preserve log, and submit a test entry. Look at where the POST request goes and its status.
Check the page source
Search the source (View page source) for
<formandaction=to find hidden or extra forms, including ones added by scripts.
document.querySelectorAll('form').forEach((f, i) => {
const a = f.action || '(none)';
const cross = a.startsWith('http') && new URL(a).host !== location.host;
console.log(i, a, cross ? 'CROSS-DOMAIN' : 'same domain');
});How to fix it
First decide which case you are in. If the domain is a service you set up on purpose, make sure it is secure (https) and current. If it is unknown, old or mistyped, replace it.
| Cause | Sign | Fix |
|---|---|---|
| Injected or malicious code | Domain you do not recognise | Remove the code, scan the site, change passwords, update plugins |
| Old form tool or CRM | Domain of a service you stopped using | Replace the form with a current embed or endpoint |
| Typo or copied test URL | Staging or misspelled domain | Correct the action URL |
| Insecure target | Action starts with http:// | Change to https:// or use a different endpoint |
| Intended third-party form | Known tool, https | Keep it, and test that it still delivers |
Find where the form lives
Check your form plugin (Contact Form 7, WPForms, Gravity Forms and others) or a Custom HTML block. Most plugins post to your own site by default.
Remove custom actions
Look for custom HTML, theme files or snippets plugins that set a different
action. Delete or correct them.Scan for tampering
Run a security scan, update plugins and themes, and remove any you do not recognise.
Check theme code
In Online Store, Themes, Edit code, search for
<formandaction=. Native contact forms use{% form 'contact' %}, which posts to your store.Review apps
Disable or uninstall form apps you no longer use, as they can leave old embeds behind.
Check Custom HTML tags
Look in Tags for Custom HTML that rewrites form actions or injects forms. Pause suspicious tags and use Preview to compare.
Review who has access
Check container users in Admin and remove people who should not publish.
Open Form Settings
Select the form block and, in its settings, check the Action field. Leave it empty to use Webflow's own form handling, or set your own endpoint on purpose.
Check custom code
Review Project Settings, Custom Code and page-level embeds for scripts that change forms.
Use the built-in form or survey
Embed the form from the Sites, Forms builder instead of hand-written HTML so it posts to the right endpoint.
Check custom code elements
Look in funnel and website Custom JS/HTML for old form markup with a different action.
Use Wix Forms
Wix forms post to Wix. If you see another domain, it comes from an HTML embed, so open that embed and correct it.
Check Custom Code
In Settings, Custom Code, review scripts added to your pages.
Review Form blocks
Native form blocks store submissions through Squarespace. A different domain points to a Code block or injected script.
Check Code Injection
In Settings, Developer Tools, Code Injection, look for scripts you did not add.
Set the correct action
Use a relative path to your own handler, or the full https URL of the service you chose.
Search the codebase
Search templates and JavaScript for the old domain and for code that sets
form.action.
<form action="/contact/submit" method="post">
<input type="email" name="email" required>
<button type="submit">Send</button>
</form>Before
- Action points to an unknown or old domain
- Browser may warn or block the post
- Leads missing from inbox and CRM
After
- Action points to your site or a trusted https service
- No warning on submit
- Test lead arrives and the thank-you page loads
How to confirm it's fixed
- The console snippet shows only domains you recognise
- Every form action starts with https
- A test submission shows no browser warning
- The POST in the Network tab returns a success status
- The test lead appears in your inbox and CRM
- The thank-you page and conversion tags still fire
How to prevent it happening again
- Keep a list of the form tools and domains you approve
- Remove form embeds when you leave a tool
- Limit who can edit theme code, tag containers and custom code
- Keep plugins, themes and apps updated
- Re-test forms after every site migration or redesign
- Run scheduled checks on your key forms
How FunnelGuard handles this
FunnelGuard detects this issue only partly. Its robot visitor runs your real form journey on a schedule and collects redirect and cross-domain evidence, so it can show when a submission goes to a different domain than expected. A failed check is re-checked from a second region before one alert goes out, with a screenshot and a likely cause.
Questions people ask
Why does my form say it is submitting to another site?
The form's action attribute points to a different domain from your page. This is normal if you use a CRM or form tool that hosts the endpoint. It is a problem if you do not recognise the domain, because it may come from old code or an injection.
Is it bad if my form action goes to another domain?
Not always. Many trusted tools receive form data on their own servers over https. It becomes a risk when the domain is unknown, outdated, or uses http, because browsers may warn and the data may be exposed.
How do I find where my form sends its data?
Right-click the form, choose Inspect and read the action attribute on the form tag. You can also open DevTools, go to the Network tab, submit a test entry and see which address receives the POST request.
Why does Chrome warn that my form is not secure?
Chrome warns when a form sends data over http instead of https, or when the destination is flagged as unsafe. Change the action to an https address, and replace any destination you do not trust.
How do I change a form's action URL?
It depends on your platform. In custom HTML, edit the action attribute. In WordPress, Shopify, Webflow, Wix or Squarespace, edit the form block or any custom code or embed that sets a different action, or switch to the built-in form.
Could a hacker have changed my form action?
Yes. Attackers sometimes inject code that redirects form data to their own server. If the domain is unknown, scan the site, remove the code, update plugins, and change your passwords.
Can FunnelGuard tell me if my form posts to a flagged domain?
Only partly. FunnelGuard checks redirects and cross-domain evidence during your form journey, but it does not read browser security verdicts or scan for malware. Check form actions by hand as well.
Related issues
- CNV-058Form posts over http from https page (browser warning)Fix guide
- CNV-047Form posts to an old or deleted endpointFix guide
- CNV-046Form endpoint returns 4xx/5xxFix guide
- CNV-048Form says success but lead never reaches emailFix guide
- CNV-043Submit button does nothingFix guide
- CNV-044Submit shows spinner foreverFix guide