Radio buttons and mobile device - problem!!! | Community
Skip to main content
New Participant
May 14, 2019
Solved

Radio buttons and mobile device - problem!!!

  • May 14, 2019
  • 4 replies
  • 3884 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

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.)

4 replies

SanfordWhiteman
New Participant
May 14, 2019

OK, I'll take a look now.

New Participant
May 14, 2019

New Participant
May 14, 2019

go.plunketthomes.com.au/PM-PL-2019-05-Studio34Opening_Invite.html

Using iPhone X

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
May 14, 2019

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.)

New Participant
May 14, 2019

Thanks so much! I will get some help to action the steps you've provided! Thank youuuuuu!!! 

SanfordWhiteman
New Participant
May 14, 2019

Any question like this must include a URL. How else could we help?

And what specific mobile device(s) are you testing with?