Question about variables

Jun 04, 2014

Hello

I know how to store variable from students' input box.

What I would like to do though is to store the entire text of a text box for later use. This text is not produced by the student but by me. It should be possible. In other words, I want to assign text to a variable. I have tried to add an object trigger to the box containing the original text but it seems not to work.

Is there some way of assigning text to a variable which doe not require a trigger?

I forgot to say that I would like the text to keep its formatting.

Thank you

andrew

4 Replies
Andrew Lian

Hi Bruce 

thank  you .

I would prefer the second option as I would not have to mess with JS or whatever. I did try that option but I don't know how to extract the text in a variable, I think I would need to use a trigger but how to put the text into a variable? As I said I know how to do that with student's input but not from a pre-populated text box... Your answer will make me think some more.

Thanks again

Andrew

This discussion is closed. You can start a new discussion or contact Articulate Support.