[Xerte] Pre-selected radiobutton
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
Sent: Monday, January 18, 2010 10:53 AM
To: 'Xerte discussion list'
Subject: [Xerte] Pre-selected radiobutton
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...
More information about the Xerte