-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fieldValue always empty #6995
Comments
We are not handling all widget annotation types yet, so this might be a consequence of that. |
I'm aware that annotations are not fully supported, but this seems to be an issue of the beta version or maybe it's not meant to support forms at all, but 1.3 get the values just fine. |
I don't see any issue here. The fieldValue is the |
No, it's not. At least not for radios and checkboxes, or at least not in this version of pdf.js. I just know for sure that the field has the specified value |
This doesn't work for buttons either. What I'm doing is injecting in
Probably not the best approach, but is doing the trick at least. |
Can you post an example pdf? |
http://208.109.168.78/pdf/web/viewer.html?file=/pdf/test.pdf (detailed log at the console) |
now if radio's parent has no value (all radios unchecked), radio's buttonValue ("on" value) is null. |
When getting form fields with
getAnnotation
,fieldValue
is always empty for checkboxes and radios. Look at the console screenshot, the correct value should beMale
for the named radio field of gender.The text was updated successfully, but these errors were encountered: