I use the following script to dynamically make a button add a text field.
var f = this.addField("myfield","text",0,[0,792,126,770]);
f.borderColor = color.black;
f.textSize=12;
f.textColor=color.black;
It works fine but positions the text field in the top corner of the page, whereas with LiveCycle it was simple to make a new field below an existing one, then another each time the button was clicked. Can anyone help me with this please?
