Answered
For plus button:
for (var i=2; i<=10; i++) {
var f = this.getField("8 base "+i);
if (f.display == display.noView) {
f.display = display.visible;
break;}}
For minus button:
for (var i=10; i>=2; i--) {
var f = this.getField("8 base " + i);
if (f.display == display.visible) {
f.display = display.noView;
break;}}
If you wish to exclude first field set loop to 3.
Sign up
Already have an account? Login
To post, reply, or follow discussions, please sign in with your Adobe ID.
Sign inSign in to Adobe Community
To post, reply, or follow discussions, please sign in with your Adobe ID.
Sign inEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
