Link to home
Start Free TrialLog in
Avatar of earwig75
earwig75

asked on

Radio button validation in ColdFusion and returning focus

I am using the built in ColdFusion validation to validate radio buttons. The validation works fine, but I need to return the focus to the radio buttons if it fails validation. Does anyone know how I can accomplish this? I use onValidate with other controls, but that doesn't work for radio buttons or check boxes.

Anytime a field fails validation, ColdFusion returns you to the first field that failed validation in the list. With radio buttons, it doesn't return the focus automatically.

Thank you.
ASKER CERTIFIED SOLUTION
Avatar of _agx_
_agx_
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial