if you’re using wix built in form, you should not add any code,
you only need to insert the captcha component to the form container.
but if you’re using custom form you should add extra code to connect the captcha to the form submission logic.
$w.onReady(function () {
$w('#submitButton').onClick(() => {
const isValidatedToken = $w('#captcha').token;
if(isValidatedToken){
//save the form data to you're collection
//you can do it with wix-data api
//https://www.wix.com/corvid/reference/wix-data.html#insert
}
else{
//show the user an error text
}
})
});