A Contact Form for Your Static Site, Without a Backend
Static sites are fast and cheap to host, but plain HTML cannot receive a form submission on its own. VASTROX Forms gives you a hosted form endpoint so you paste one action URL, keep your site fully static, and start getting messages in your inbox.
Why a static site cannot handle forms on its own
A static site is just HTML, CSS, and JavaScript served from a CDN. There is no server-side code running to accept a POST request, validate it, and email it to you. That is exactly why Netlify, GitHub Pages, Hugo, and Jekyll are so fast and inexpensive, but it is also why a raw <form> tag does nothing when a visitor clicks submit.
The usual workarounds are heavy: stand up a serverless function, wire an SMTP provider, or bolt on a full CMS. VASTROX Forms replaces all of that with a single hosted endpoint that receives the submission for you and forwards it wherever you want.
Add a form with one action URL
Create a form in your VASTROX Forms dashboard, copy your unique endpoint ID, and point any HTML form at it. No JavaScript, no build step, no API keys in your markup. It works identically on Netlify, GitHub Pages, Cloudflare Pages, and files opened straight from disk.
The only change to your site is the action attribute. Everything else is standard HTML that any static host serves as-is.
<form action="https://forms.vastrox.com/YOUR-ID" method="POST">
<label>
Name
<input type="text" name="name" required>
</label>
<label>
Email
<input type="email" name="email" required>
</label>
<label>
Message
<textarea name="message" required></textarea>
</label>
<button type="submit">Send</button>
</form>Works with Hugo, Jekyll, and any static generator
Because the endpoint is just a URL, you can drop the same form snippet into a Hugo partial, a Jekyll include, or a plain HTML page. Put it in a reusable component once and every page that references it gets a working contact form.
Field names become the labels in your submission, so name your inputs clearly. VASTROX Forms captures every named field, so custom fields like company, budget, or phone show up automatically with no extra configuration.
{{/* layouts/partials/contact-form.html (Hugo) */}}
<form action="https://forms.vastrox.com/YOUR-ID" method="POST">
<input type="hidden" name="_subject" value="New message from my site">
<input type="text" name="name" placeholder="Your name" required>
<input type="email" name="email" placeholder="you@example.com" required>
<textarea name="message" placeholder="How can we help?" required></textarea>
<button type="submit">Send message</button>
</form>Spam handling and redirects built in
Every static-site form gets hit by bots eventually. VASTROX Forms filters obvious spam and supports a honeypot field, so you catch automated junk without forcing a CAPTCHA on real visitors. Add a hidden honeypot input and submissions that fill it are dropped.
After a successful submit you can send visitors to your own thank-you page with a redirect field, keeping the experience on your domain.
<form action="https://forms.vastrox.com/YOUR-ID" method="POST">
<!-- honeypot: real users never fill this -->
<input type="text" name="_gotcha" style="display:none" tabindex="-1" autocomplete="off">
<!-- send visitors here after submitting -->
<input type="hidden" name="_redirect" value="https://yoursite.com/thanks">
<input type="email" name="email" required>
<textarea name="message" required></textarea>
<button type="submit">Send</button>
</form>Free to start, and it grows with your stack
VASTROX Forms is free to host your contact form, so you can ship a working form today without a credit card. Submissions land in your dashboard and can be forwarded to your email.
If you later need a real inbox on your own domain, VASTROX also offers web hosting and email, so your form notifications and your mailboxes can live in one place under the same brand.
Frequently asked questions
Do I need any JavaScript or a build step to use this?
No. A standard HTML <form> with the VASTROX Forms action URL works on its own. You can add JavaScript for AJAX submissions if you want to avoid a page reload, but it is optional.
Does this work on GitHub Pages and Netlify?
Yes. Since the form only needs an action URL, it works on GitHub Pages, Netlify, Cloudflare Pages, Vercel static deployments, and any host that serves plain HTML.
How do I stop spam submissions?
Add a hidden honeypot field (for example a _gotcha input styled with display:none). Bots fill it and those submissions are discarded automatically, while real visitors never see it. Baseline spam filtering runs on every form.
Can I send visitors to my own thank-you page after they submit?
Yes. Include a hidden _redirect field with the URL you want, and after a successful submission the visitor is sent to that page on your own site.
What happens to the data when someone submits the form?
The submission is captured in your VASTROX Forms dashboard and can be forwarded to your email. Every named field in your form is stored, so custom fields appear without extra setup.
Is VASTROX Forms really free?
Yes, you can host a contact form for free and start receiving submissions right away with no credit card required.
Add this to your site in minutes
Free plan, no credit card, no server. Point your form at one URL.
Get your free endpoint