detect if Radio Button selected in group
Posted: Sun Nov 23, 2014 3:03 pm
Hello,
I have 4 radio buttons in a group called "resemble" and a submit button. If you click the submit button i want to make sure a radio button is selected before going to next page. Here is my script. When submit button clicked - I want to check that a radio button is selected before going to next page. How do I script the submit button to make sure a radio button is selected then go to next card - if no radio button selected then beep. Thanks. Sue
Script on submit button...
on mouseUp
if the hilitedButton of group "resemble" = zero then
beep
else
go to card"page5"
end if
end mouseUp
on opencard i have the card script ... set the hilitedbutton of group "resemble" to zero. So when user opens card they need to select a radio button then click submit to next page.
I have 4 radio buttons in a group called "resemble" and a submit button. If you click the submit button i want to make sure a radio button is selected before going to next page. Here is my script. When submit button clicked - I want to check that a radio button is selected before going to next page. How do I script the submit button to make sure a radio button is selected then go to next card - if no radio button selected then beep. Thanks. Sue
Script on submit button...
on mouseUp
if the hilitedButton of group "resemble" = zero then
beep
else
go to card"page5"
end if
end mouseUp
on opencard i have the card script ... set the hilitedbutton of group "resemble" to zero. So when user opens card they need to select a radio button then click submit to next page.