使用 PDF 表单和 PDFTK & PHP

发布于 2024-12-22 09:30:01 字数 203 浏览 3 评论 0原文

我有一个 PDF,我正在使用 PDFTK 来删除其中的字段。我的问题是字段转储中字段和字段名称的顺序不是很清楚。例如:复选框的字段名称为“box7”、“box3”、“box2”。未经测试,我不知道这些是哪些复选框。

我需要能够以编程方式识别这些字段。或者我需要知道它们在 pdf 上的位置。

最终,我如何通过用户单击他们想要的字段或以编程方式正确识别这些字段?

I have a PDF that I am using PDFTK to rip the fields out of. My problem is that the order of the fields and field names are not very clear in the field dump. For example: Checkboxes are given field name "box7", "box3", "box2". I do not know which checkboxes these are without testing.

I need to be able to pro grammatically identify these fields. Or I need to know their location on the pdf.

Ultimately, how can I properly identify these fields either through the user clicking on the field they want or pro grammatically?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

爱格式化 2024-12-29 09:30:01

在 Adob​​e LiveCycle 表单设计器(包含在 acrobat 7 及更高版本的付费版本中)中打开您的 pdf。您可以查看表单字段名称,根据需要重命名它们等...LiveCycle 将 Acrobat 表单从水中吹出来!我在工作中使用 PDFTK/PHP/LiveCycle PDF 来运行我们的整个产品标签系统,并在我们的网站上为客户创建了一个文档自助服务门户......如果您遇到困难,请随时跟进更多问题

Open your pdf in Adobe LiveCycle form designer (included with paid versions of acrobat from version 7 and up). You can see the form field names, rename them as needed etc... LiveCycle blows acrobat forms out of the water! I use PDFTK/PHP/LiveCycle PDFs my work to run our entire product labeling system and created a document self service portal for customers on our website.... feel free to follow up with more questions if you get stuck

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文