ListBox and ComboBox Annotation

WebViewer Version:

Do you have an issue with a specific file(s)? No
Can you reproduce using one of our samples or online demos? No
Are you using the WebViewer server? Yes
Does the issue only happen on certain browsers? No
Is your issue related to a front-end framework? No
Is your issue related to annotations? Yes

Please give a brief summary of your issue: I need support for set custom Annotations for radiobutton, listbox and combox
(Think of this as an email subject)

Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
I want header form field to left side panel so, i can add form field manually from left panel

Please provide a link to a minimal sample where the issue is reproducible:
I’m doing this on my local server

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

Hello komal,

Welcome to the PDFTron Community Forum!

Just to clarify, your’e trying to add Radio Button, List Box, and Combo Box form fields using buttons on the left panel?

Here are the links to those annotations in our API:

Here is also a link to create them programmatically:

Let me know if this works for you, or if you have any other questions.

Best Regards,
Tyler Gordon
Web Development Support Engineer
PDFTron Systems, Inc.
www.pdftron.com

image

Hi,
Thanks for your replay,

But please let me know can i add field in this popup which i show you on image, and if yes then how??
Please guide me that’s helpful for me.

Thanks

Hello komal,

To add a custom field into this popup, it would require Advanced Customization of the UI. PDFTron Systems Inc. | Documentation

Best regards,
Tyler Gordon
Web Development Support Engineer
PDFTron

image

Hii,
One more issue is here,
How can i change grey border color, and how to make thick border of radio button??

Thanks

Hello komal,

We have a guide on styling form fields here: PDFTron Systems Inc. | Documentation

Let me know if that works for you!

Best regards,
Tyler Gordon
Web Development Support Engineer
PDFTron

Thanks, above issue is now working fine,

But i have another issue about datepicker

I used above link as referance for datepicker, but it’s not properly useful for me, can you plz guide me i proper way from starting as how can i add datepicker to pdf??

Thanks

Hello komal,

Here is the constructor for the date picker widget: PDFTron WebViewer Class: DatePickerWidgetAnnotation

You have to pass in a field, which you can create programmatically as well: PDFTron WebViewer Class: Field

Best regards,
Tyler Gordon
Web Development Support Engineer
PDFTron