Radio Button Conditional Redirect DOM events
-
I know on_sent is deprecated. I’ve been looking for a solution to get the same results I had before with DOM events. Based on the radio button selection, after submission, visitors were redirected to 3 different specific pages (3 quiz levels). No luck so far, my coding skills are poor. My old code looks like this:
on_sent_ok: “var Iso = $(“input[name=quiz]:checked”).val() ; if(Iso == ‘beginner’ ){ location = ‘https://mylink/quiz-beginner/’; } if(Iso == ‘Intermediate’ ){ location = ‘https://mylink/quiz-intermediate/’; } if(Iso == ‘advanced’ ){ location = ‘https://mylink/quiz-advanced/’; }”
How can I accomplish this with DOM events? Many thanks
- The topic ‘Radio Button Conditional Redirect DOM events’ is closed to new replies.