PDF-Forms is a service provided by PDFzone.com | http://www.pdfzone.com/
__________________________________________________________________


I believe that the name property of a field object is Read Only when accessed via 
JavaScript -- so you can retrieve the name of a field object, but not change it. 

What you could "possibly" do though is to iterate through all the fields in the 
document one by one (using a for loop), and on each iteration:

1. Access the current field's properties.
2. Add a new field to the document (doc.addField) using the properties of the field 
you've just accessed, except now you can set the name of the field to what you wish 
(you can set the name of the field in the doc.addField method).
3. Delete the old field from step 1.

I haven't tested this, just thought I should throw up the idea for you.

- Chris.
___________________________________
 
Chris Dahl - CTO, Solutions
ARTS PDF
[EMAIL PROTECTED]
http://www.artspdf.com/solutions


To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfforms.html

Reply via email to