Skip to main content
Known Participant
March 3, 2022
Question

date validation not working in foxit

  • March 3, 2022
  • 3 replies
  • 1722 views

Why does acrobat scerip not work in foxit.

This topic has been closed for replies.

3 replies

JR Boulay
Community Expert
Community Expert
March 4, 2022
Acrobate du PDF, InDesigner et Photoshopographe
JR Boulay
Community Expert
Community Expert
March 3, 2022

What is your script?

Acrobat supports some deprecated JavaScript features that Foxit don't. This causes small incompatibilities.

Acrobate du PDF, InDesigner et Photoshopographe
murrjamesAuthor
Known Participant
March 3, 2022
Hi, I have 2 scripts in a hidden text field.
First script is to format the date to dd/mm/yyyy
Second script checks to see if the dropdown beside the text field made a
specific choice. If the Amendment was chosen, the date field becomes
visible.

I attached the form. Fields are in the top row.
Type de déclaration, the hidden date field is to the right of it.

Thanks

Murray
murrjamesAuthor
Known Participant
March 3, 2022
PS. The form works in acrobat. the problem is it does not work in acrobat
DC READER.
Bernd Alheit
Community Expert
Community Expert
March 3, 2022

Ask the support of Foxit.

murrjamesAuthor
Known Participant
March 3, 2022
I was looking there. Is it common for the JS to be different in foxit and
acrobat?
Bernd Alheit
Community Expert
Community Expert
March 3, 2022

Some PDF viewers supports no Javascript or only a subset of Javascript.