49 lines
1.4 KiB
Markdown
49 lines
1.4 KiB
Markdown
<!-- Complete form with reCAPTCHA and custom fields -->
|
|
<form action="https://api.staticforms.xyz/submit" method="POST">
|
|
<!-- Required: Your Static Forms API key -->
|
|
<input type="hidden" name="apiKey" value=sf_ha7960c038fb88i3hbgf0d81>
|
|
|
|
<!-- Enable reply-to functionality -->
|
|
<input type="hidden" name="replyTo" value="@">
|
|
|
|
<!-- Anti-spam honeypot field -->
|
|
<input
|
|
type="text"
|
|
name="honeypot"
|
|
style="display: none"
|
|
tabindex="-1"
|
|
autocomplete="off"
|
|
>
|
|
|
|
<!-- Form fields -->
|
|
<div class="form-group">
|
|
<label for="name">Name:</label>
|
|
<input type="text" id="name" name="name" required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="email">Email:</label>
|
|
<input type="email" id="email" name="email" required>
|
|
</div>
|
|
|
|
<!-- Custom field with $ prefix -->
|
|
<div class="form-group">
|
|
<label for="company">Company:</label>
|
|
<input type="text" id="company" name="$company">
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="message">Message:</label>
|
|
<textarea id="message" name="message" required></textarea>
|
|
</div>
|
|
|
|
<!-- reCAPTCHA integration -->
|
|
<div class="g-recaptcha" data-sitekey=6LcXVZcrAAAAAErKk03ysIccvSose25YnkeiBP-b></div>
|
|
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
|
|
|
|
<!-- Optional redirect URLs -->
|
|
<input type="hidden" name="redirectTo" value="https://example.com/success">
|
|
|
|
<button type="submit">Send Message</button>
|
|
</form>
|