iTextSharp edit generated PDF and save back to database - itext

I have process that I want to do that I'm not sure it is possible. I am using iTextSharp to generate and populate a PDF with collected data that a user has entered in a previous screen.
Then the PDF is saved to a SQL Server Database as binary data. Then it is pulled back for the user to view in the browser if they would like too.
It is possible to generate the PDF, do not flatten the form, and then allow the user to edit areas that may have not been prefilled by the users information. Then I will need to be able to save this back to the database.
I have some findings on using a adobe submit button that submits the pdf to a URL that would collect the data, but I want to know if iTextSharp is capable of this. Using ASP.NET or another example.
I do not want to save the form field information, but save the whole pdf to the database with some sort of submit button.

Related

Load data saved in form on a new form

I need to use Orbeon Forms to create a form to capture the price from a number of things. I create a form, connect it with database (MySQL), deploy the form, complete the form, and it saves the data correctly in database.
Then my question is: if I complete form_1 and save the data in the database, and later enter to the empty form_1:
Is it possible to load the data entered previously or from the last form completion for form_1?
Is it necessary to have button or any control to take an action?
When you load a page to fill a new form, notice how the URL ends with /new. When you are on that page, and save, notice how the URL changes to /edit/123 (where 123 is a long unique identifier). You can come back to edit the data by loading again this URL.
In practice, this is often done by going to the /summary page for the form, and clicking on the relevant form data you want to edit.

Joomla Form Creation & PDF Conversion

I want to convert my client registration form online.I want to have
PHP Form with validation
Form data should be inserted in database
After form submission,end user should be able to download form as pdf.
I am having pdf file format ready with me,form data should be added at specific position in pdf
Backoffice should be able to view all forms filled & able to create csv file for same.
Can i achieve my requirement using Joomla?
I am new to joomla.
Please see this link: http://www.rsjoomla.com/joomla-extensions/joomla-form.html
RSForm Pro has the feature to download the form submission in PDF form. You will have to specify the layout of the PDF in the extension itself.

acrobat pdf submit button for forms - fields order in xfdf

My solution:
User opens PDF file on web server in browser.
User is entering form fields and pushing submit button.
Submit button sends XFDF data through POST to my PHP script.
When I get POST data, form fields are in random order.
I'm creating XFDF document based on POST and then process it further. Preferably fields should be in the same order as in PDF file.
Question:
I don't know how to control adobe reader to send form data in some predictable order. Form fields numbering (controlling flow of document when using TAB) is not changing resulting POST data order.
Any ideas how to order fields?

Create a fillable PDF that POST's it's data then returns a flattened PDF with the data in it the user can save

I have a pdf that currently people fill in, print out, hand to a receptionist who scans the paper form into a pdf, enters the form fields into a web form, attaches the scan to the web form and submits that. This is dumb.
What I want is a PDF form that once filled out the user can press a submit button. That submit button sends a post request to a web server with the form fields and the completed form. So far I can do half of that, submit the fields to a web site where they show up in POST, and the server's response gets returned to the user as a PDF, at least in Acrobat pro it does. Reader throws an error, but I am hoping that if the server returns a PDF reader will open it.
What I need is the submit button to send the fields to the server, along with a copy of the completed form. I can catch it with PHP and do everything I need from there. Preferably I would like both in the same transaction, but if not I can work around it.

Infopath form values submit to PDF

I'm trying to use values selected out of my InfoPath form to be displayed in a nicely manner on a PDF..For example a user selects a contact that is pulled from a database..and then that contacts information is displayed in a pdf once they hit submit on the infopath form..any ideas how to do this?
Check out my codeplex project IP2HTML. It allows you to convert an InfoPath form/view to HTML (you can do the HTML to PDF conversion with any 3rd party tool you like). Click here to see how it's used within a IP 2010 form.
In your case, i would create a custom view that displays only the selected contact, and when the user clicks submit the pdf is generated. This, however, requires code within your form.