Click here to Skip to main content
15,945,939 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The survey app I'm working on has a lot of radio buttons... I want the user to be able to tab down the form through each question.

The problem I'm facing is none of the radio buttons can receive "focus" until one of them has been clicked.

For example I have a form with 10 questions on it, each question has an array of 6 radio buttons for the answers... The only other controls on the form are 2 command buttons for "Next" and "Back"

When the user goes to this page initially, the only controls that can receive focus are the "Back" and "Next" buttons.

Unacceptable. I need focus to go directly to the first array of radio buttons, and when TAB is pressed it go to the next row.

Does anyone know what problem I'm facing and know how to resolve? I messed with every property setting on the radio buttons.

I hope I don't have to write code behind the TAB key to "set focus" manualy.


1 solution

Have you tried using a RadioButton.focus() option?
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900