Generating PDF from Form Templates
Moderator: infoRouter Guru
Generating PDF from Form Templates
I love the form templates. I have been able to create a few templates by looking at the existing templates. I can't however figure out how the PDF is being generated. Can you explain?
- infoRouter Guru
- Posts: 230
- Joined: Fri Aug 07, 2009 8:46 pm
Re: Generating PDF from Form Templates
Jerry,
I could go on all day about this but the following document does a better job explaining everything you need to know.
https://www.inforouter.com/Downloads/V8 ... de-V80.pdf
Hope this helps.
The Guru
I could go on all day about this but the following document does a better job explaining everything you need to know.
https://www.inforouter.com/Downloads/V8 ... de-V80.pdf
Hope this helps.
The Guru
Re: Generating PDF from Form Templates
I have examined an existing HTML form in my company's Form Templates folder within infoRouter and have compared it to the instructions written in the "Form Template Administrator's Guide" and have the following questions...
The guide doesn't mention what action to take in the opening form tag, i.e. <form name="input" action="*" method="post">.
The existing form I compared this with calls for: action="IRDOC.ASPX".
My first question is either "what's an IRDOC.ASPX?", or "Is this the action I call for?" or "What do I call for?"
The Guide mentions that I have to create a meta tag <meta name="render-with" content="/Form Templates/***.pdf"/>, the existing HTML form I compared this with has no "rendering" meta tags, so I am not too sure how, when or if to use this meta tag. Am I right to assume that I do use this meta tag and that is belongs within the header section of the HTML?
Also, I have created my own "[Form Template]" folder to use for testing the forms I am to create, however the form I have uploaded to my personal Form Template folder doesn't appear in the list when I select "Document from template" within the "New" menu. What would the reason for this be, and how do I get this to work?
The guide doesn't mention what action to take in the opening form tag, i.e. <form name="input" action="*" method="post">.
The existing form I compared this with calls for: action="IRDOC.ASPX".
My first question is either "what's an IRDOC.ASPX?", or "Is this the action I call for?" or "What do I call for?"
The Guide mentions that I have to create a meta tag <meta name="render-with" content="/Form Templates/***.pdf"/>, the existing HTML form I compared this with has no "rendering" meta tags, so I am not too sure how, when or if to use this meta tag. Am I right to assume that I do use this meta tag and that is belongs within the header section of the HTML?
Also, I have created my own "[Form Template]" folder to use for testing the forms I am to create, however the form I have uploaded to my personal Form Template folder doesn't appear in the list when I select "Document from template" within the "New" menu. What would the reason for this be, and how do I get this to work?
Re: Generating PDF from Form Templates
I can help with this.
include <meta name="render-with" content="/library name/[form templates]/name of pdf document.pdf" /> in the header
You don't need anything in the action = "*" for <form name="input" action="*" method="post">
On each table row where you want information entered, make sure your Id="" and name="" the same has what your field names are on the pdf document. for example <input class="input01" type="text" id="CertTitle" name="CertTitle" size="16" />
Also, make sure that the html and pdf document exist in the [form templates] folder
include <meta name="render-with" content="/library name/[form templates]/name of pdf document.pdf" /> in the header
You don't need anything in the action = "*" for <form name="input" action="*" method="post">
On each table row where you want information entered, make sure your Id="" and name="" the same has what your field names are on the pdf document. for example <input class="input01" type="text" id="CertTitle" name="CertTitle" size="16" />
Also, make sure that the html and pdf document exist in the [form templates] folder
Re: Generating PDF from Form Templates
This is an old post but I think it is very important.
What the instruction from the form Template Manager does not show clearly is that you need to create the pdf template with fields identical to the ones you want rendered from the HTML template than use the metadata taga referencing the name of the pdf template.
There are several ways of creating empty pdf templated but my best tool is Adode Livecycle Designer. I am using version 8.2 at the moment but i am sure there are other pdf creation tools out there.
On a side note, I am examining the posibility of having dynamic html-pdf rendering so that for instance if my template were to generate a form letter on a company letterhead, the signature field would move down automatically to cater for varying lenght of the letter body.
Right now the form letter will have a fixed signature position.
What the instruction from the form Template Manager does not show clearly is that you need to create the pdf template with fields identical to the ones you want rendered from the HTML template than use the metadata taga referencing the name of the pdf template.
There are several ways of creating empty pdf templated but my best tool is Adode Livecycle Designer. I am using version 8.2 at the moment but i am sure there are other pdf creation tools out there.
On a side note, I am examining the posibility of having dynamic html-pdf rendering so that for instance if my template were to generate a form letter on a company letterhead, the signature field would move down automatically to cater for varying lenght of the letter body.
Right now the form letter will have a fixed signature position.
Who is online
Users browsing this forum: No registered users and 5 guests