Highlighted

Using C# to Read Field Names

Avatar

Guest

04-09-2008

I'm using a 3rd party tool (PDF4Net) to read the field names of PDF docs created using LiveCycle. When I examine a form's field.Name property I typically get a name string such as "F[0].P1[0].SSN[0]". What I actually want is just "SSN". Are there any modifications that can be made in LiveCycle to allow PDF4Net to return just "SSN"?

Replies

Highlighted

pguerett

05-09-2008

That tool is reading the AcroForm name .....it is not a LiveCycle issue so to answer your question No there is nothing you can do.
Highlighted

Avatar

Guest

08-09-2008

Paul - Thank you for your reply. Third-party apps aside, what would be your recomendation to allow our C# app to reference a field name directly without having to prepend the form's structure?
Highlighted

pguerett

08-09-2008

You can't the field structure is part of the native PDF field name when it is created (that is the way it works). You are accessing the PDF name natively (not the XFA name) ..that is what is exposed through the APIs.