Radio button entry not being saved with Emdeb API
Hi, new API user here.
I have a PDF that has a several questions followed by Yes/No checkboxes.

Some of these checkboxes are simple checkboxes (where both Yes and No can be checked) and some act as radio buttons where only either Yes OR No can be checked (don't ask me why the inconsistancy, this is a PDF from one of our clients).
I use previewFile from the Embed API to load the PDF into a browser.
I then check some of the Yes/No checkboxes and save the contents using the save callback:
/* Register save callback */
adobeDCView.registerCallback(
AdobeDC.View.Enum.CallbackType.SAVE_API,
function (metaData, content, options) {
/* Write down your own save implementation here... and based on that resolve or reject response in given format */
/* Save callback success case */
console.log("I'm in the save callback")
var base64PDF = arrayBufferToBase64(content);
var fileURL = "data:application/pdf;base64," + base64PDF;
savedDoc = fileURL;
I then use pdf-lib to read the contents of the fields
pdf-lib reports all these fields of type 'PDFCheckBox' which has a method called isChecked().
When I call isChecked() on one of the fields that acts as a single checkbox, the value is always accurate (ie. true if I checked the box, false if I did not).
When I call isChecked() on one of the fields that acts as a radio button, the value returned is always false even when I either the 'Yes' or 'No' box is checked.
One other interesting piece of information. If the original PDF file read in via previewFile has the Yes radio button checkbox checked, when I call isChecked(), I get the correct value (ie. true) back, so the problem has to do with the ability to set and save this radio button checkbox via the embed API.
Thanks in advance for any assistance.
