I'm trying to create a variable that will be true or false based on a checkbox on another page. I'm using RequestParameter to get the information from the checkbox but having some trouble. Here is my current AMPscript. Any help anyone has would be appreciated thanks!
def variable
%%[
SET @variable = RequestParameter("checkbox")
IF @variable == null THEN
SET @boolean = "False"
ELSEIF @variable != null THEN
SET @boolean = "True"
ENDIF
]%%