8
Views
2
Comments
[PDF Tools Utils] Having trouble setting value for combo box in PDF Tools Utils
pdf-tools-utils
Service icon
Forge asset by Faiz Khan
Application Type
Service

In testing with the demo app, when I try to set the value of the Combo box field of the included sample fillable PDF file to "Choice 3", the updated PDF file has the combo box changed to a different format, and the selected choice is not set.  I've attached the original sample and the modified sample.

Is there a trick to setting the value I am missing?

Thanks.

Fillable Form Example.pdf Fillable Form - Filled.pdf
Fillable Form Example.pdf
2025-02-20 04-52-48
Ajay P

Hi @George Mari
can you please the share more Details or Module for Reference 

Regards,
Ajay

UserImage.jpg
George Mari


1. Download and install PDF Tools Utils and the "PDF Tools Utils Demo" application.

2. Run the PDF Tools Utils Demo application.

3. Download, save, and open the Sample PDF.  Note the appearance of the "First Choice" dropdown. 

4.  Return back to the PDF Tools Demo app, and upload this sample PDF you just downloaded, using the Upload widget at the top of the page.

5. Now, scroll down to the section labeled "Fillable Form".  Uncheck the "Read-Only" checkbox.  Press the button labeled "Get Fields".

6. In the last row of this table, where the Name column is "Dropdown2", click on the field in the column "Set New Value".  Type in the new value "Choice 3", then press the button to the right labeled, "Set Field".


7.  When you press this button, the app will automatically download the modified PDF file with the dropdown value set to "Choice 3".  This is the part that doesn't seem to be working.  It looks like this:

...but it should look like this:

In the first screen capture, the dropdown "arrow" has disappeared from the "First choice" field, and the value selected is still "Choice 1", not "Choice 3" as we had tried to set it in step 6 above.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.