admin管理员组文章数量:1291128
This is what I have:
- User fills very long html form
- User gets link to download different pdfs (this are fillable forms), links are generated using javascript
- User clicks link, url is generated (with the data the user submitted before), data is processed in the form and fields are pleted *this is done using javascript inside the form).
- User get pdf back with fields pleted.
The problem I'm running is that in some cases the data needed to send to the form is around 8000 characters, when IE only allows 2083 character in the url.
As requested by client, we need to do everything client side, that means no access to php, c#, java. Also I'm using Acrobat Pro X, to work with the pdfs.
Is there a way to submit a post request, process that request in the pdf, fill the form and return the filled form to the user? Is there another way to go around the 2083 character limit of IE?
This is what I have:
- User fills very long html form
- User gets link to download different pdfs (this are fillable forms), links are generated using javascript
- User clicks link, url is generated (with the data the user submitted before), data is processed in the form and fields are pleted *this is done using javascript inside the form).
- User get pdf back with fields pleted.
The problem I'm running is that in some cases the data needed to send to the form is around 8000 characters, when IE only allows 2083 character in the url.
As requested by client, we need to do everything client side, that means no access to php, c#, java. Also I'm using Acrobat Pro X, to work with the pdfs.
Is there a way to submit a post request, process that request in the pdf, fill the form and return the filled form to the user? Is there another way to go around the 2083 character limit of IE?
Share Improve this question edited Mar 5, 2013 at 9:33 Bruno Lowagie 77.6k9 gold badges118 silver badges178 bronze badges asked Mar 5, 2013 at 8:05 andrantisandrantis 701 gold badge1 silver badge4 bronze badges1 Answer
Reset to default 7Why do you need to send 8000 characters of data to the server if you want to fill out the form on the client side? Seems like all you need to do is to establish munication between the JavaScript in the HTML page and the JavaScript in the PDF. This is explained here: PDF hostContainer callback
PS: I'm the author of the book from which this excerpt was taken: http://www.javabeat/2011/04/javascript-munication-between-html-and-pdf-in-itext/
本文标签: jqueryFill PDF form with javascriptStack Overflow
版权声明:本文标题:jquery - Fill PDF form with javascript - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741498952a2381967.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论