We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Can you use XFDF to import/update dropdown lists in PDF with new items?

I’m currently using Pdf Fascades and the ImportXfdf method to import form field data into an existing PDF. This works fine.


I need to populate dropdown lists with new options dynamically too though.

Can I do this with XFDF or do I need to do something more low level like XFA or something else. I’m not a PDF expert and haven’t worked with XFA before.

The PDFs were created via Adobe InDesign and Acrobat.

Thanks!
Mike

Hi Mike,


Thanks for your inquiry. I am afraid you can not add new options into a dropdown list using ImportXfdf. You need to modify the formfield for adding new options in dropdown list. Please check documentation link to modify an existing form field. You can refer last section of this documentation, although it adds a new field but you can assign existing field instead creating new, you can check the code to add options in list.

Please feel free to contact us for any further assistance.

Best Regards,