Javascript in a PDF?

前端 未结 1 472
半阙折子戏
半阙折子戏 2021-01-21 17:15

I made up an editable PDF for students to request transcripts. Now, I want to constrain the input. For example, I want only numbers for their ID number, and I want only letters

相关标签:
1条回答
  • 2021-01-21 17:46

    Yes, the Adobe Acrobat Reader supports hosting JavaScript for uses such as field validation.

    Here's some reference material:

    http://www.adobe.com/devnet/acrobat/javascript.html

    and some tutorials:

    http://www.evermap.com/javascript.asp

    http://www.pdfscripting.com/

    AFAIK, you will need the full (Pro) version of Acrobat to write the scripts.

    0 讨论(0)
提交回复
热议问题