These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

How could i remove all fields in PDF document?

gavin2u
Registered: Jul 3 2009
Posts: 76
Answered

this.removeField("fieldName");
like code above, method removeField() can only remove the fields that name is already in our mind.

How could i get fields set and remove all fields in the document? in spite of whatever name it is?

thx.

Regards,

gavin

My Product Information:
Acrobat Pro 9.2, Windows
gavin2u
Registered: Jul 3 2009
Posts: 76
okay, got it

// Remove all fields from the documentfor (var i = 0; i < this.numFields; i++)this.removeField(this.getNthFieldName(i));