How to make radio box be selected when user enters accompanying text.
September 12, 2006 11:44 AM
Subscribe
In a web survey form, I need to automatically check a radio box if the user clicks on the text field.
I have a questionnaire with "Other (please specify)" as a radio option, with a text field next to it. I would like to have the radio button automatically selected if the user decides to just type a name in the text field and ignoring the radio box. I saw a javascript that checks the radio button, however you can't type into the accompanying text field...
I'm not that great at javascript. Help!
posted by Blue Buddha to computers & internet (9 comments total)
2 users marked this as a favorite
posted by Blue Buddha at 11:46 AM on September 12, 2006