Quantcast
Channel: Adobe Community : Unanswered Discussions - Acrobat
Viewing all articles
Browse latest Browse all 73766

Delete a Terminal Field

$
0
0

Hello, I have two form buttons with the same name. Depending on their relative positions, I want to delete one of the fields. I am using this:

 

var f1 = this.getField(fname+".1");
if (f1 !== null) {    this.removeField(fname+."1");
}

 

where fname is the field name. However, the terminal field is not deleted. Is there a way to delete a terminal field with Acrobat JavaScript? Thanks.

 

Rick


Viewing all articles
Browse latest Browse all 73766

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>