I have a form in CloudPage with a question based on radio buttons, the possible answers are YES and NO. I need to show a message based on the VALUE (YES or NO) selected by the customer.

How can I capture that value?

I saw this question: How to redirect Smart Capture Form Submit depending on dropdown selection

But I can't understand where do I get or pass the VALUE of the selection.

I tried, in the same form page to get it using this AMP script:

%%[ set @answer= requestparameter("ANSWER") ]%%

But it doesn't work, maybe because it's setted before I get the answer.

Thank you!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.