PDA

View Full Version : Capturing text


gauthamchari123
02-08-2009, 03:42 PM
Hello Everyone,

This is my first time and I hope you guys do go easy with the technicalities.

I am creating a survey in Articulate Quizmaker '09. Each survey page needs a text box for the user to input their comments. I have already created the text box.

I would like to know how I could capture the text the user inputs, and store them for future evaluation.

Articulate Quizmaker generates flash based surveys.

Please let me know if you need more information.

Cheers
Gautham

endergrl
02-09-2009, 03:32 PM
ok.. so the work flow is user enters text into textField, then clicks submit_btn. So what you want to do is say (this code may vary depending on flash version or articulate code)

submit_btn.onPress = function (){
var userText:String = textField.text
}

now your text is in a variable and you can do whatever you want to it.