# Issue with importing radio buttons in pdf

**URL:** <https://pdfjs.community/t/issue-with-importing-radio-buttons-in-pdf/821>\
**Category:** Technical Support\
**Created:** [June 13, 2021, 7:41am UTC](https://pdfjs.community/t/issue-with-importing-radio-buttons-in-pdf/821 "2021-06-13T07:41:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chats2790](https://avatars.discourse-cdn.com/v4/letter/c/34f0e0/32.png) [@chats2790](https://pdfjs.community/u/chats2790)\
**Post date:** [June 13, 2021, 7:41am UTC](https://pdfjs.community/t/issue-with-importing-radio-buttons-in-pdf/821/1 "2021-06-13T07:41:26Z")

</div>

**PDF.js Express Version**  
7.3.3

**Detailed description of issue**  
When pdf is loaded into viewer , radio buttons are missing from it. Also , it throws an error on console saying ‘Error: undefined is not a valid destination type.’ Is this an error from your end. Can u pls confirm ?.  
**Expected behaviour**  
{Provide a screenshot or description of the expected behaviour}

**Does your issue happen with every document, or just one?**  
Just this document

**Link to document**

> **[FL\_HP\_WS\_TS.pdf](https://www.finelite.com/sites/default/files/2020-09/FL_HP_WS_TS.pdf)**
>
> 2.48 MB

**Code snippet**  
{Provide a relevant code snippet}

 ![bug](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/d570415787c101d1df94c36dbe1559199251b7a1.png)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [June 13, 2021, 7:41am UTC](https://pdfjs.community/t/issue-with-importing-radio-buttons-in-pdf/821/2 "2021-06-13T07:41:29Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

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

Guides:
- [Open a document, add annotations, download - 2. Listen for document load](https://pdfjs.express/documentation/use-case/upload-download#2.-listen-for-document-load)
- [Understand coordinates in PDF.js Express](https://pdfjs.express/documentation/viewer/coordinates)
- [PDF.js Express Viewer](https://pdfjs.express/documentation/viewer/overview)

APIs:
- [CoreControls.DocumentViewer - refreshAll()](https://pdfjs.express/api/CoreControls.DocumentViewer.html#refreshAll__anchor)
- [Annotations.WidgetFlags - new WidgetFlags(options)](https://pdfjs.express/api/Annotations.WidgetFlags.html#WidgetFlags__anchor)
- [Annotations.RadioButtonWidgetAnnotation - new RadioButtonWidgetAnnotation(field, options)](https://pdfjs.express/api/Annotations.RadioButtonWidgetAnnotation.html#RadioButtonWidgetAnnotation__anchor)

Forums:
- [Undefined is not a valid destination type](https://pdfjs.community/t/undefined-is-not-a-valid-destination-type/809/1)
- [Bug on file upload in pdf js viewer](https://pdfjs.community/t/bug-on-file-upload-in-pdf-js-viewer/819/1)
- [Getting error log on loading a particular pdf](https://pdfjs.community/t/getting-error-log-on-loading-a-particular-pdf/564/9)

---

<div class="post-metadata">

**Author:** ![Logan](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/logan/32/13_2.png) [@Logan](https://pdfjs.community/u/Logan)\
**Post date:** [June 16, 2021, 2:44pm UTC](https://pdfjs.community/t/issue-with-importing-radio-buttons-in-pdf/821/3 "2021-06-16T14:44:36Z")

</div>

Hey there,

This issue is probably related to [Bug on file upload in pdf js viewer - #4 by Logan](https://pdfjs.community/t/bug-on-file-upload-in-pdf-js-viewer/819/4). It will be fixed in next release

---

<div class="post-metadata">

**Author:** ![Logan](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/logan/32/13_2.png) [@Logan](https://pdfjs.community/u/Logan)\
**Post date:** [June 16, 2021, 2:44pm UTC](https://pdfjs.community/t/issue-with-importing-radio-buttons-in-pdf/821/4 "2021-06-16T14:44:40Z")

</div>


