Drag and drop the CAPTCHA Block onto your screen or form where you want to apply bot protection.
Create a new client action on the screen and set it as the handler for the CAPTCHAIsValid event exposed by the component.
Inside the event handler:
Assign the two output parameters:
IsValid (Boolean): Indicates whether the entered CAPTCHA is correct.
ErrorMessage (Text): Provides an optional message in case of an invalid entry.
On your submit button's OnClick action, call the CAPTCHA validation logic first:
If IsValid is True, proceed with your form submission or custom logic.
If IsValid is False, show an error message or prompt the user to retry.