Highlighted

Adobe PDF Forms - Radio Button/Check boxes suddenly sending value of "Off"

New Here ,
Sep 04, 2020

Copy link to clipboard

Copied

We developed an Adobe PDF forms survey using "Prepare Forms".    Users uploaded completed surveys into our web application where some Java application code reads and processes those surveys.   Recently we noticed that for Radio Buttons and Checkboxes when a user doesn't make a selection, values of "Off" are coming in.  Previously this didn't happen.   Looks like the issue started happening sometime in mid-July.   We even were able to take a survey that did not have this problem and simply re-save the survey and were able to introduce the problem just by re-saving it.   Even worse, we have seen where the PDF file got corrupted and returned a value like "0" or "5" for a radio button selection instead of the option defined in the PDF form field properties.   For example, we had a Yes/No pair of radio buttons.  If  I go into Properties-->Options and look at "Radio Button Choice" for the "Yes" radio button, I see it shows "Yes".  However, when the survey was read in, it had a value of 0.   I was able to fix it simply by change "Radio Button Choice" property to a value other than "Yes", closing the properties window, re-opening and changing the value back to "Yes".   I then had to re-select the "Yes" option and save the PDF file.  Now when I upload it, it has the correct value again.   But then other unselected check boxes and some radio buttons are coming in with a value of "Off".   This seems to be a very new bug, that hopefully Adobe can fix.

TOPICS
PDF forms

Views

47

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Adobe PDF Forms - Radio Button/Check boxes suddenly sending value of "Off"

New Here ,
Sep 04, 2020

Copy link to clipboard

Copied

We developed an Adobe PDF forms survey using "Prepare Forms".    Users uploaded completed surveys into our web application where some Java application code reads and processes those surveys.   Recently we noticed that for Radio Buttons and Checkboxes when a user doesn't make a selection, values of "Off" are coming in.  Previously this didn't happen.   Looks like the issue started happening sometime in mid-July.   We even were able to take a survey that did not have this problem and simply re-save the survey and were able to introduce the problem just by re-saving it.   Even worse, we have seen where the PDF file got corrupted and returned a value like "0" or "5" for a radio button selection instead of the option defined in the PDF form field properties.   For example, we had a Yes/No pair of radio buttons.  If  I go into Properties-->Options and look at "Radio Button Choice" for the "Yes" radio button, I see it shows "Yes".  However, when the survey was read in, it had a value of 0.   I was able to fix it simply by change "Radio Button Choice" property to a value other than "Yes", closing the properties window, re-opening and changing the value back to "Yes".   I then had to re-select the "Yes" option and save the PDF file.  Now when I upload it, it has the correct value again.   But then other unselected check boxes and some radio buttons are coming in with a value of "Off".   This seems to be a very new bug, that hopefully Adobe can fix.

TOPICS
PDF forms

Views

48

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Sep 04, 2020 0
New Here ,
Sep 04, 2020

Copy link to clipboard

Copied

Just a follow-up that we use Apache PdfBox to read the survey files.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 04, 2020 0
Adobe Community Professional ,
Sep 04, 2020

Copy link to clipboard

Copied

May be a problem of PdfBox.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 04, 2020 0
try67 LATEST
Most Valuable Participant ,
Sep 05, 2020

Copy link to clipboard

Copied

I suggest you report this issue over at the PDFBox Jira bug tracker (https://issues.apache.org/jira/projects/PDFBOX/issues), and/or mailing list (users at pdfbox.apache.org). It is normal behavior, though, that when no item is selected in a radio-button/check-box group the value of that group is "Off".

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 05, 2020 0