We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Trouble with radio buttons and preexisting actions

Hi,

I'm having trouble with the pdfviewer. It works fine if I only have text fields, but for some reason it does not work right if the form has radio buttons, all that is shown is an oval where the field is suppose to be, and it can't be selected.

Also, if a field already has a built in javascript action, it does not work. For example if a text field has a javascript that sets the text of a different field when the focus is on it, it does nothing.

Attached is a sample pdf, when it is run in the pdfViewer, the radio buttons don't work. Also the component #1 item 2 pass text field has a javascript action which changes the component #1 item 2 initials to be whatever the initials of the Technician field is. The device I am working on is a Galaxy Tab S3, and the pdfViewer version is 17.4.0.41.

Attachment: pdf_8683a51f.zip

1 Reply

JP Jhansi Priya Ramesh Syncfusion Team January 10, 2020 01:28 PM UTC

Hi Joey, 
 
Please find the details for your queries from below, 
 
S.No 
Query 
Details 
1 
I'm having trouble with the pdfviewer. It works fine if I only have text fields, but for some reason it does not work right if the form has radio buttons, all that is shown is an oval where the field is supposed to be, and it can't be selected. 
 
We confirm that the issue “Radio button is not displayed properly in particular PDF document” is a defect from our side. We will include the fix for this issue in our volume 4 service pack release which is expected to be available by the end of January 2020. 
2 
Also, if a field already has a built in javascript action, it does not work. For example if a text field has a javascript that sets the text of a different field when the focus is on it, it does nothing. 
 
Attached is a sample pdf, when it is run in the pdfViewer, the radio buttons don't work. Also the component #1 item 2 pass text field has a javascript action which changes the component #1 item 2 initials to be whatever the initials of the Technician field is 
 
At present, we do not have support for “support for performing JavaScript actions in the form fields”. We do not have any immediate plans to implement this feature. At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest.      
       
Based on our present commitments and the above parameters, this feature is expected to be implemented in our 2020 Volume 4 main release. We will let you know when this feature is implemented.     
    
Disclaimer: The date for the feature implementation is tentative and not a commitment on our parts.      
      
You can now track the status of this feature request here,           
   
 
 
 
Regards, 
Jhansi Priya Ramesh 


Loader.
Live Chat Icon For mobile
Up arrow icon