Avatar

Level 2

I don't have time to check, but you may want to try something like this:

If (TextField.rawValue == "") { \\check to see if field is empty

     TextField.RawValue = "This is a value set using a script."; \\set textfield to scripted string

}

else { \\if not empty, have the field be the existing data + newline + string wishing to add

TextField.rawValue = TextField.rawValue + \n + "This is a value set using a script.";

}

I forget the exact newline character, but you get the idea.