Test submitting this live demo form in real-time.
123456789101112---// src/components/ContactCard.astro---<form action="https://api.formtruck.com/f/ft_YOUR_FORM_ID" method="POST" class="contact-form"><input type="text" name="name" placeholder="Name" required /><input type="email" name="email" placeholder="Email" required /><textarea name="message" placeholder="Message" required></textarea><input type="hidden" name="_next" value="/thank-you" /><input type="text" name="_gotcha" style="display: none;" tabindex="-1" /><button type="submit">Submit via Formtruck</button></form>
Keep this field hidden via CSS. If a spam bot fills it out, Formtruck silently traps the submission into your spam folder.
Specify a custom thank-you page URL (e.g. https://yoursite.com/thank-you) for native HTML POST submissions.
Customize the email notification subject line (e.g. New VIP Client Inquiry).