Copy link to clipboard
Copied
hi, I have the following script which isn't working?
I would like the MINISPL!1, MINISPL2, MINISPL3 to bring up MINI SPLASH VLUe, and numbers 4 - 6 to bring up MINI SPLASH WHITE??
The blue will end up in one field, the white in another? hope this makes sense
for (var i=1; i<=6; i++) {
if (this.getField("MINISPL"+"1","2","3").valueAsString=="text") {
event.value = "MINI SPLASH BLUE";
break;
}
}
Copy link to clipboard
Copied
Please tell us for which Adobe product you're scripting so that a moderator can move the thread. Forum comments is for problems with the fora.
Copy link to clipboard
Copied
Abambo wrote
Please tell us for which Adobe product you're scripting so that a moderator can move the thread. Forum comments is for problems with the fora.
My answer is not correct, however, it would be helpful if you answer the question of the product... 🙂
Copy link to clipboard
Copied
It is in a pdf form, I have found a way round it now, thanks
Copy link to clipboard
Copied
Discussion successfully moved from Forum comments to JavaScript
Would you mind sharing your solution as others may have the same problem?