从基于 CMS 的数据动态创建 pdf 表单

发布于 2024-09-10 22:47:00 字数 372 浏览 6 评论 0原文

我正在使用 modX cms,并且希望管理员能够以更大的表单(基本上是标签和各种表单元素)创建一些表单字段,然后将其作为 PDF 文档供用户访问下载、填写、保存并以 pdf 形式通过电子邮件发送给适当的收件人。

与其他类似问题的主要区别是,我不想实际处理表单的内容并输出 PDF,我想生成一个 PDF,其中包含基于 CMS 中找到的数据[字段名称/类型]的表单。

该应用程序的主要目的是表单必须易于管理,因此与 CMS 集成。没有什么反对使用和编写自定义代码和/或库。

我还会考虑选择一个 PDF,它能够自行发送结果,但根据我的理解,我必须购买 adobe formbuilder 包,这会导致价格过高。

关于我可以使用哪些库/方法的任何提示?

谢谢

I am using modX cms, and would like to have administrators be able to create some form fields in a larger form (basically a label, and form elements of various kind) which is then made accessible to users as a PDF document which is to be downloaded, filled out, saved and sent to appropriate recipients via email as pdf.

The main difference to other similar questions is that i do not want to actually process the CONTENTS of a form and output a PDF, i want to generate a PDF which contains a FORM based on data [field names/types] found in a CMS.

The main purpose of the application is that forms have to be easily administrable, hence the integration with a CMS. Nothing speaks against using and writing custom code and/or libraries.

I would also consider an option of having a PDF which is able to send its results out by itself, but from what i've understood i'd have to purchase the adobe formbuilder package and that would raise the price too much.

Any hints on what libraries/approaches i could use?

Thanks

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

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

发布评论

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

评论(2

雪落纷纷 2024-09-17 22:47:00

建议TCPDF

另请参阅维基百科条目 。您可以复制和粘贴许多现有的示例和插件。

TCPDF is recommended

see also the link in the bottom on the wikipedia entry . There are a bunch of existing examples and plugins you could copy&paste from.

挖个坑埋了你 2024-09-17 22:47:00

PDFlib,您可以从头开始生成新的 PDF,或修改现有的 PDF(包括添加表单) )。然而,它的价格相当昂贵,因此如果您买不起 Adob​​e 的 formbuilder,那么它也可能太贵了。

There's PDFlib, from which you can generate a new PDF from the ground up, or modify an existing one (including add forms). It is, however, fairly pricey, so if you can't afford Adobe's formbuilder, this is probably too expensive as well.

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