Skip to content
Form API

Spam protection

PaceForms includes built-in spam filtering. Combine techniques for the best protection.

Honeypot field — automatic

Add a hidden field named _honeypot. Real users never fill it; bots do. Any submission with a filled honeypot is silently rejected.

Code
<!-- Hidden from users via CSS, filled by bots --> <input type="text" name="_honeypot" style="display:none" tabindex="-1" autocomplete="off" />

Time-based check — automatic

PaceForms checks how quickly a form was submitted after the page loaded. Submissions under 2 seconds are flagged as likely bot activity. No configuration needed.

reCAPTCHA v3 — optional

Pass a reCAPTCHA v3 token with the field name _recaptcha. Configure your site key in your form settings.

JavascriptCode
// Get token before submission const token = await grecaptcha.execute(SITE_KEY, { action: 'submit' }); const res = await fetch('https://app.paceforms.com/api/f/NR-6Ww88ET', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ ...fields, _recaptcha: token }), });
Last modified on