简体   繁体   English

使用Javascript提交多个PDF表单?

[英]Using Javascript to submit multiple PDF forms?

Is it possible to submit multiple PDF forms at once, if they've been filled out separately in different files? 如果将它们分别填写在不同的文件中,是否可以一次提交多个PDF表单? It would have to be done from within a PDF file, and be as simple as clicking a button since it will be for end users. 它必须在PDF文件中完成,并且就像单击按钮一样简单,因为它将用于最终用户。

It's possible but without more details, I can't provide a specific answer. 有可能,但是没有更多细节,我无法提供具体答案。 First, all of the "slave" PDF files will need to have their disclosed property set to "true". 首先,所有“从属” PDF文件都需要将其公开的属性设置为“ true”。 You will also need to install a folder level script that allows you to get an array of the active documents because the function is subject to security restrictions. 您还需要安装文件夹级脚本,该脚本可让您获取活动文档的数组,因为该功能受安全性限制。 Then you can call doc.sibmitForm() from the master to cause each document to submit itself. 然后,您可以从母版调用doc.sibmitForm()来使每个文档提交自己。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM