[Xerte] MCQ Template Wizard Model

Julian Tenney Julian.Tenney at nottingham.ac.uk
Thu Oct 8 15:18:34 BST 2009


When are you trying to do this? When an option is selected, or when the
submit button is pressed?

 

I'd use code in the button to loop over interactionID.responses and
setEnabled on the first ...n... responses (i.e. the radioButtons), you
know n from other code used to make them,

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Beckwith
Sent: Thursday, October 08, 2009 1:47 PM
To: 'Xerte discussion list'
Subject: [Xerte] MCQ Template Wizard Model

 

I'm trying to setEnabled(false); all options in a question when it has
been answered. There's two prototype options. Using the RS from these
doesn't do the trick, only seems to  disable the first and last
options...

 

Is this not working because all of the options that get duplicated have
the same RS? 

 

I've tried doing it by the group too, grp.setEnabled(false);

 

Computer says no...!

 

Paul

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091008/29da140e/attachment.html


More information about the Xerte mailing list