Form Submissions
BotID does not support traditional HTML forms that use the and attributes, such as:
Native form submissions don't work with BotID due to how they are handled by the browser.
To ensure the necessary headers are attached, handle the form submission in JavaScript and send the request using or , allowing BotID to properly verify the request.
Here's how you can refactor your form to work with BotID:
If you're using Next.js, you can use a server action in your form and use the function to verify the request:
And in your form component:
Was this helpful?