[Xerte] Pre-selected radiobutton

Julian Tenney Julian.Tenney at nottingham.ac.uk
Mon Jan 18 10:59:55 GMT 2010

btn1.setValue(true); //where btn1 is the rs property of the radio




From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Marc
Torruella Altadill
Sent: Monday, January 18, 2010 10:53 AM
To: 'Xerte discussion list'
Subject: [Xerte] Pre-selected radiobutton


Hello everyone,

We have a quiz template where you can have from 1 to N radiobuttons. 

We want that once a student has correctly answered this page, next time
the correct answer gets automatically checked.


We tried with properties "checked" and "selected" with actionscript, but
it doesn't seem to work. How should we do it?



1-      Button1.attributes.checked = 1;

2-      Button1.attributes.checked = true;

3-      Button1.attributes.selected = 1;

4-      Button1.attributes.selected = true;


Thank you very much!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20100118/1d425576/attachment.html

More information about the Xerte mailing list