Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

ComboBoxField Custom Text Not Saving

$
0
0
Hi, 

The pdf form that we are trying to fill using Aspose.PDF has comboboxes that allow the user to enter custom text. We've tried using Facades.Forms and InteractiveFeatures.Forms but in both cases the comboboxfield does not retain the string value. I've attached the pdf file we are using.

And here is the code:

'Facade - FillField - We didn't think this would work from looking at the docs
'Looked like it matched on option name/value
pdfForm.FillField("Item Name", "Test Description")

- or - 

'Using the document
Dim cbItemName As ComboBoxField = TryCast(pdfForm.Document.Form("Item Name"), ComboBoxField)

cbItemName.Value = "Test Description" 'Value never changes here

Thanks



Viewing all articles
Browse latest Browse all 3131

Trending Articles