Hi charles61,
Make a group of the first 11 checkboxes. Call this group "Marked".
Group the remaining 13 checkboxes too and call this second group
"Switch".
Put the following script in your button:
on mouseUp
if the hilitedButton of grp "Marked" is 0 then
beep
answer error "Please, select a category first"
else if the hilitedButton of grp "Switch" is 0 then
beep
answer error "Please check one of the disability areas."
else
go first marked cd
end if
end mouseUp
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
Download Strõm Flow Chart Software
http://flowproject.economy-x-talk.com
On 1 nov 2009, at 19:59, charles61 wrote:
I have two sets of checkboxes. The first set consists of 11
checkboxes and
the second set consists of 13 checkboxes. I want to script for the
user to
be able to go another marked card if one or more of the first set of
checkboxes are checked AND if one or more of the second set of
checkboxes
are checked.
In the following script I was able to set up the first condition for
the
first set of checkboxes so the user could go to a marked card:
on mouseUp
switch
case (the hilite of button "check1" = true )
go first marked card
break
case (the hilite of button "check2" = true)
go first marked card
break
case (the hilite of button "check3" = true)
go first marked card
break
case (the hilite of button "check4" = true)
go first marked card
break
case (the hilite of button "check5" = true)
go first marked card
break
case (the hilite of button "check6" = true)
go first marked card
break
case (the hilite of button "check7" = true)
go first marked card
break
case (the hilite of button "check8" = true)
go first marked card
break
case (the hilite of button "check9" = true)
go first marked card
break
case (the hilite of button "check10" = true)
go first marked card
break
case (the hilite of button "check11" = true)
go first marked card
break
default
answer information "Please check one of the disability areas."
end switch
end mouseUp
My question is how do I add the second condition in my switch
statements
that one or more of the checkboxes are checked in the second set of
checkboxes so that the user can go to the specify marked cards. By
the way,
the second set of checkboxes do not determine which marked cards the
user
can to. The second condition of the second checkboxes is only that
one or
more of the checkboxes are checked.
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution