Link to home
Start Free TrialLog in
Avatar of crescue
crescue

asked on

check if user clicked on any radio button

I have a form with different radio button groups (ex. basic, collision, theft, etc...), and each has two options (y/n), and I want to perform a subroutine when the user CLICKS ON ANY of the groups. I wouldn't like to check FOR EACH PAIR OF VALUES IN A GROUP.
I have GBASIC (group name)
GCOLLISION (group name)
GTHEFT (group name)
etc...

How can I accomplish this ?

Thanx

I am using CS3 and AS2
Avatar of Michel Plungjan
Michel Plungjan
Flag of Denmark image

Pls show some html or a picture. Your request is not clear
Avatar of crescue
crescue

ASKER

I want to do a subroutine when the user CLICKS ON ANY Coverage option
options.JPG
You're not being very clear in what you want. Which flash language is this? The RadioButton class does have an event for when it is clicked on (To provide specifics I need to know if this is AS3, AS2, or MXML (And if so which Flex SDK)).
If you want to perform your check when the form is submitted, just use a logical or on the options using the selected property of the RadioButtons and the || operator.
ASKER CERTIFIED SOLUTION
Avatar of dgofman
dgofman
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