> I am fairly new to the world of metcard and find it a fascinating piece
> of kit. I am however having a problem with menus.
>
> I have four groups of radio buttons. Group 1 has 7 buttons, group 2 has
> 4 buttons, group 3 has 7 buttons and group 4 has 5 buttons.
>
> I would like to write a script that will automatically generate an id
> number, corresponding to a certain combination of radiobuttons, when one
> of the radio buttons is changed. Obviously there will be four buttons
> selected at any time, and a total of 980 combinations, so efficiency is
> important. What is the easiest way to achieve this result?
I'm not 100% sure what you are asking for here but if you need an individual
id for each possible combination to use later to match to a result of some
sort then why not create a 4 digit id number of the form:
the hilitedButton of group 1 & the hilitedButton of group 2 & the
hilitedButton of group 3 & the hilitedButton of group 4
Thus every possible combination will have a corresponding id that is also
quite easy to read and understand by a human.
Hope this is what you want
Regards
Monte
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.