I have radio buttons on my form, and the values aren't being captured when the form is filled out from a mobile device. From desktop it works fine. Can anyone help please? This is urgent as the invitation must go out in 3 hours ... ahhhhh. #radio buttons
Solved! Go to Solution.
The perception that the radio buttons are working on desktop browsers is optimistic!
In fact, they do not work correctly anywhere, because somebody wrote some extremely poorly-thought-out JS. Not knowing how to correctly use the Forms 2.0 JS API, they're overwriting the value attribute of the radio buttons after fetching a response from an outside webservice. Remove the code that calls updateFormVars and you'll be fine.
(Also, I shudder to imagine what you're doing with that service and its is_anon check, etc.. That's a clear Denial of Service attack vector if indeed it's hitting Marketo REST API with every pageview.)
Any question like this must include a URL. How else could we help?
And what specific mobile device(s) are you testing with?
The perception that the radio buttons are working on desktop browsers is optimistic!
In fact, they do not work correctly anywhere, because somebody wrote some extremely poorly-thought-out JS. Not knowing how to correctly use the Forms 2.0 JS API, they're overwriting the value attribute of the radio buttons after fetching a response from an outside webservice. Remove the code that calls updateFormVars and you'll be fine.
(Also, I shudder to imagine what you're doing with that service and its is_anon check, etc.. That's a clear Denial of Service attack vector if indeed it's hitting Marketo REST API with every pageview.)
Thanks so much! I will get some help to action the steps you've provided! Thank youuuuuu!!!
I see this is fixed now. When you get a chance please come back and mark my answer above as Correct, thanks.
OK, I'll take a look now.