<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE type=text/css>DIV {
        MARGIN: 0px
}
</STYLE>
<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=988581018-06122007>Each radio button has a 'correct' property you can set
to indicate whether it is a correct choice. It's a boolean, so set it to 1 for a
correct response, or 0 for an incorrect response. Attach a script to each radio
button icon with the following:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=988581018-06122007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Courier New" size=2><SPAN
class=988581018-06122007>if (rbTest.judge()) {<BR>
rbResponse.setText("Correct!");<BR>} else {<BR>
rbResponse.setText("Wrong!");<BR>}</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=988581018-06122007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=988581018-06122007>In my example, rbTest is the id of the Interaction icon
for the radio buttons, and rbResponse is the id of a Text
icon.</SPAN></FONT></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <B>On Behalf Of </B>b
b<BR><B>Sent:</B> Thursday, December 06, 2007 5:26 AM<BR><B>To:</B>
xerte@lists.nottingham.ac.uk<BR><B>Subject:</B> [Xerte] radio
buttons<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV><U><FONT color=#0066cc><A
href="mailto:xerte@lists.nottingham.ac.uk"></A>Hi,<BR>I have a several groups
of radio buttons on a page and i want to judge if the user checks the correct
answer in a group and if it is corect a text to apear next to the radio button
that says "correct" and if it is wrong to say that is "wrong".I want to
determine what group was answered correct and what group was answered
wrong.</FONT></U><A
href="mailto:xerte@lists.nottingham.ac.uk"></A></DIV></DIV><BR>
<HR SIZE=1>
</BLOCKQUOTE></BODY></HTML>