Copy link to clipboard
Copied
I want to change the coordinates of a text field in javascript. How can I do that?
An example of what I'm trying to achive:
if (this.getField("text1") == "something"){
//move field
}
if (this.getField("text1").value == "something") {
this.getField("text1").rect = [0, 0, 100, 100];
}
Copy link to clipboard
Copied
if (this.getField("text1").value == "something") {
this.getField("text1").rect = [0, 0, 100, 100];
}
Copy link to clipboard
Copied
Thats it! thx
Find more inspiration, events, and resources on the new Adobe Community
Explore Now