[Xerte] Variables in properties...

Julian Tenney Julian.Tenney at nottingham.ac.uk
Fri Oct 9 13:58:02 BST 2009


In the submit button

 

for (i = 0; i < inter.responses.length - 1; i++)

{

  inter.responses[i].setEnabled(false);

}

 

Where inter is the interaction ID - this assumes an interaction with all
radios (that you wat to disable) and a submit button (where this code
is)

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Beckwith
Sent: Friday, October 09, 2009 1:27 PM
To: 'Xerte discussion list'
Subject: RE: [Xerte] Variables in properties...

 

Still trying with this radio button thing in the multiple choice
question model...

 

Basically I'm trying to name the prototype ID to "ID+counter". Then
every time  a new prototype is created, the counter is incremented
(already done that bit).

 

So when my radio buttons are created I want to have icon ID's like:

 

ID1

ID2

ID3

ID4

 

Then I can address each radio button separately....

 

:-s

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 09 October 2009 13:10
To: Xerte discussion list
Subject: RE: [Xerte] Variables in properties...

 

What are you trying to do...?

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Beckwith
Sent: Friday, October 09, 2009 12:58 PM
To: 'Xerte discussion list'
Subject: [Xerte] Variables in properties...

 

Is it possible to name a property using a variable in Xerte? 

 

I've already tried:

 

var myTitle = "come on, please work Mr Xerte thing";

 

 Page Title:  {myTitle}

 

(Didn't work)

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091009/606c9d82/attachment.html


More information about the Xerte mailing list