I don't see a line like this one in your code:

<input name="textbox1">

Replace textbox1 with the name of the item in your .que file and MediaLab should write the response to the data file.

You should be able to insert this anywhere like before the input type line of code.