Hi All,
I would like to request assistance on how I can redirect to a page using the CloudPagesURL value on a Lookup script?
I'm not sure if my code here is correct?
%%=Redirect('%%=CloudPagesURL(400)=%%')=%%
Var @STATUS, @EMAIL, @AGENT_NAME
Set @EMAIL= RequestParameter ('EMAIL')
Set @AGENT_NAME= RequestParameter ('AGENT_NAME')
SET @STATUS = Lookup('MYDATA', 'FLAG', 'EMAIL', @EMAIL)
IF @Status == "Yes" THEN
%%=Redirect('%%=CloudPagesURL(400)=%%')=%%
ENDIF
]%%
My expected result should redirect to this page and also populating the fields:
Thanks in advance