[iText-questions] Edit multi page pdf

2014-03-06 Thread Anchal
Hi,

I am using iText G  I have a pdf with 2 pages and I need to set it's
editable field on the air. The pdf contains 2 field with same key on
different page. When I try to set value of first field,  it set on second
field.
How can I set value for first field.

Thanks,

--
Subversion Kills Productivity. Get off Subversion  Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Re: [iText-questions] Edit multi page pdf

2014-03-06 Thread iText Info
Anchal schreef op 6/03/2014 9:58:

 Hi,

 I am using iText G  I have a pdf with 2 pages and I need to set it’s 
 editable field on the air. The pdf contains 2 field with same key on 
 different page. When I try to set value of first field, it set on 
 second field.
 How can I set value for first field.


Based on the behavior you describe, I am pretty sure that your form only 
has one field.
You are confusing the concept of a field, with the concept of a widget 
annotation.

One field has one name, but it can have more than one widget annotation.
When you set the value of the field by its name, that value MUST be 
shown in both widget annotations.
You want a different value for the different widget annotations of the 
same field.
This would be in violation with ISO-32000-1.

Please change your forms so that it has two different fields, with two 
different names, each having a single widget annotation.

--
Subversion Kills Productivity. Get off Subversion  Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php