Проверки формы PDF не работают

297
I J

Я создал PDF-форму с использованием Adobe Acrobat и добавил проверки javascript для текстовых полей, таких как адреса электронной почты и номера телефонов.

Когда я заполняю их с помощью Adobe Reader, они будут правильно проверять записи, но если я использую другой читатель, такой как Foxit Reader, он не будет проверять мои поля.

0
Have you ensured that Foxit supports JS form validation just like Adobe reader does? Karan 9 лет назад 0
@Karan No I didn't, Thought all readers are on universal convention. Thanks, will check I J 9 лет назад 0
PDF is a convoluted spec and no, not all readers will support all aspects of it equally well. Karan 9 лет назад 1
Foxit is too dumb; it is said to be fast displaying PDFs, but their maker decided to not implement JavaScript (as far as I remember). Best practice is to prepare the form for dumb viewers, and activate the smart part in a document-level script, which gets properly interpreted when the viewer understands JavaScript, but remains otherwise ignored. Max Wyss 9 лет назад 0

0 ответов на вопрос

Похожие вопросы