There are several ways to do this. This one uses the Javscript string manipulation (you can also do it without this, but this way will also help you learn Javascript).
If you want to add the text to the textbox in the button select the Run Javascript action.
Then, get the current textbox val into a variable:
myText = $(‘#form1-textArea1’).val();
Next add the text you want to add to a variable:
newText = ” This is the new text.”; //each button would have its own text to add.
Now you can use the concat method to joind the strings:
$(‘#form1-textArea1’).val(myText.concat(str2));
Resources:
http://www.genuitec.com/mobile/docs/widgetReference/widgetReference.html#select_and_input_properties
http://www.w3schools.com/jsref/jsref_concat_string.asp