[Xerte] Using html text in the options of single/multiple
choicequestions
Peter Huppertz
peter.huppertz at baselgovernance.org
Wed Apr 15 16:35:54 BST 2009
Hi Julian,
I think it is escaped correctly in the XML:
<option text="here i<b>s an optio</b>n" feedback="feedback for
this option" correct="false" />
I thought it is just a matter of how the textfield for the option label is
setup in XMLEngine.fla in INTERACTION.prototype.addCheckBox. Wouldn't just
box.multilineLabel.html = true;
box.multilineLabel.htmlText = text;
do the trick?
Peter
From:
Julian Tenney <Julian.Tenney at nottingham.ac.uk>
To:
"Xerte discussion list" <xerte at lists.nottingham.ac.uk>
Date:
15.04.2009 16:40
Subject:
RE: [Xerte] Using html text in the options of single/multiple
choicequestions
Sent by:
xerte-bounces at lists.nottingham.ac.uk
tricky because in the underlying xml, the <> in the html will break the
xml structure if stored in an attribute. they would need escaping.
You could set the text with code though, which would then work, I think
you might be able to do this already if you know what to set properties
on. I'm on leave today, but leave it with me...
From: xerte-bounces at lists.nottingham.ac.uk on behalf of Peter Huppertz
Sent: Wed 15/04/2009 10:35
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Using html text in the options of single/multiple
choicequestions
Just wish for the next version of Xerte:
Can you add support for html formatted options in the single/multiple
choice question?
Thanks,
Peter_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20090415/1dd1c0b1/attachment.html
More information about the Xerte
mailing list