View Source

CAPTCHA

Protect forms with Cloudflare Turnstile, Google reCAPTCHA, or hCaptcha. Requires a real siteKey from the provider.

// Configure in createForm const AppForm = createForm({ captcha: { provider: 'turnstile', siteKey: 'your-site-key', }, }) // Use in form <AppForm onSubmit={handleSubmit}> <AppForm.Field.String name="email" /> <AppForm.Captcha /> <AppForm.Button.Submit>Submit</AppForm.Button.Submit> </AppForm>

This example requires a real CAPTCHA siteKey. See the form-develop-app for configuration details.