Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Sat Apr 08, 2023 6:42 pm

Hello,We are using spire.pdf to auto-populate values in the pdf forms.
Most of all the pdf forms are built with XFA form fields.It works well in the majority of the scenario. However, we are struggling to set values for some cases where we need your support. Case 1:-------
We have a pdf that has country and province options.
When country = "Canada" then the province drop-down enables otherwise it's disabled. Now, when we try first to set the value of the country, it works and we can see the selected value.
After that when we try to set the value for the province, it's not coming as a populated value despite having the same value available in the drop-down list.The field type of both of the drop-down is "choiceList".
Case 2:
-------
We have phone numbers at two places in a form. Those are simple text fields however value is not populating in those XFA form fields. Case 3:
-------
We have multiple rows for similar XFA control fields in another pdf. 
We assigned values for all of them but only the first row values are populating others come with empty values only. Please let us know what should we need to do to solve this issue.

cap_13131313
 
Posts: 1
Joined: Sat Nov 05, 2022 4:16 pm

Mon Apr 10, 2023 10:33 am

Hi,

Thanks for your message.
Please provide us with the following information for further investigation.
1.Your input document and the final saved document, which you can upload them here or provide to us by email ([email protected])
2.Your complete test code.
3.Your system information (E.g. Win10, 64 bit) and region setting (E.g. China, Chinese).

Best Regards,
Herman
E-iceblue support tea
User avatar

Herman.Yan
 
Posts: 115
Joined: Wed Mar 08, 2023 2:00 am

Return to Spire.PDF

cron