How i can check if the user has clicked the captcha checkbox and display an error if user has not checked the captcha checkbox.
Regards
How i can check if the user has clicked the captcha checkbox and display an error if user has not checked the captcha checkbox.
Regards
Since you referenced ssjs and AMPScript, I assume your question relates to Marketing Cloud landing pages (or Cloud Pages). I'm uncertain how you captcha checkbox is implemented. Since you did not provide a code sample. But, I assume this is just a checkbox in an HTML form. The RequestParameter() AMPScript function will allow you to retrieve the value of the checkbox upon a form post. The function will only return a value if the field is checked.