Answered
I´ve created by addField a multiple textfield.
But by creating this textfield ive come to a problem.
I cannot create a line break in this textfield.
I thought that I can do this with "\n" or "\r".
var f = this.addField("response", "text",
page = this.pageNum = 2,[10,10,595,840]);
var ausgabe = ("Question 1 " + var1 +"% \n" + "Question 2 " + var2 +"% \n")
f.value = (ausgabe);
f.textSize = 12;
f.textfont = font.Helvtica;
f.textColor = color.black;
f.fillColor = color.white;
f.alignment = "left";
f.multiline = true;
f.readonly = true;
Can somebody help me and tell me how i can create a line break in this multiple textfield, please?
Thank you for your help,
Heinz Eckert
I receive the following:
f has no properties
6:Console:Exec
f has no properties
6:Console:Exec
undefined
Because the "addField()" page parameter is not properly specified. For JS page 2:
I also had to redorder the setting of the properties to place the "value" after the "muyltiline" property was set to 'true".
George Kaiser