Edit multiple dropdown menus at the same time
Help!
I've been furiously working on a fillable PDF using Acrobat DC and I have (literally) thousands of dropdown menus that I would like to edit simultaneously. The problem is that the Javascript that I'm trying to edit will not allow me to choose the "Validate" tab if I select more than 1 dropdown to edit.
Is there a way to do this without having to individually select each dropdown menu validation tabs to edit?
More specifically, I want edit all the dropdowns from this:
var f = event.target;
var fv = event.value;
if (fv == "4") {
f.fillColor = color.green;
}
else if (fv == "2") {
f.fillColor = color.yellow;
}
else if (fv == "1") {
f.fillColor = color.red;
}
else {
f.fillColor = color.white;
}
To this:
var f = event.target;
var fv = event.value;
if (fv == "4") {
f.fillColor = color.green;
}
else if (fv == "2") {
f.fillColor = color.yellow;
}
else if (fv == "1") {
f.fillColor = color.red;
}
else if (fv == "D") {
f.fillColor = color.blue;
}
else {
f.fillColor = color.white;
}
Thank you in advance!
