Skip to main content
Participant
February 23, 2024
Question

Checkbox addition

  • February 23, 2024
  • 2 replies
  • 764 views

Hi, I've created a simple list of questions with checkboxes next to them. I have created a 'total' box at the bottom to provide the number of checkboxes selected. I've successfully got it to add up using sum+ and with a different approach that I test using JavaScript. It all works fine in Adobe. The problem is when the PDF is opened in a browser or other PDF reader. The checkboxes can be selected but the count stays at zero. I've not idea why it would work in Adobe but nowhere else. I'm totally stuck. Any help gratefully received.

 

This topic has been closed for replies.

2 replies

JR Boulay
Community Expert
Community Expert
February 23, 2024

The simplest solution is to embed the form in a PDF Portfolio, so it can be used only with Acrobat (or Foxit).
Alternatively, you can use this tip: https://www.abracadabrapdf.net/ressources-et-tutos/js-et-formulaires-ressources/forcer-utilisation-pdf-avec-un-vrai-pdf-reader/

(Copy-paste the URL in Google Translate)

Acrobate du PDF, InDesigner et Photoshopographe
Participant
February 23, 2024

Perfect thank you so much

try67
Community Expert
Community Expert
February 23, 2024

Because those other viewers are faulty and do not support scripts in PDF files.

There's nothing you can do about it, unfortunately. You can only advise your users to open the file in Adobe Reader if they want it to work correctly.

Participant
February 23, 2024

I feared as much. Thank you very much for the quick response. Very much appreciated.