pdf - iTextSharp acroFields.SetField method and multiple form fields with same name -



pdf - iTextSharp acroFields.SetField method and multiple form fields with same name -

in case of multiple fields same name itextsharp acrofields.setfield(name, value) sets value first field only. how set value rest of fields? when looping thru acrofields.fields field names reported as

form1[0].#subform[0].textfield1[0] - textfield form1[0].#subform[0].textfield2[0] - textfield form1[0].#subform[0].textfield2[1] - textfield form1[0].#subform[0].textfield2[2] - textfield

when using

acrofields.setfield("textfield1", value);

the value of text field named textfield1 set. there 1 field named textfield1 fine. when using

acrofields.setfield("textfield2", value);

the value of first text field named textfield2 set. rest 2 fields named textfield2 left unset.

the pdf created adobe livecycle , saved static pdf i.e. not dynamic xfa.

can utilize total field name?

acrofields.setfield("form1[0].#subform[0].textfield2[0]", value);

pdf pdf-generation itextsharp itext

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -