PDF Kit - Pre Sales

Hi,

I have a pre Sales enquiry regarding PDF Kit we were looking at a url:

URL: http://www.bradfordcollege.ac.uk/vacancies

This has a link on for a Application form

This application form appears to be dynamically built PDF

The User can ‘Fill In’ this PDF and click the ‘Send Button’ within the PDF the

answered details then get exracted on the server and then put in a database.

My question is can we do all this functionallity with Aspose PDF.Kit?

Build a PDF Dynamically with Input Fields, Get a Reponse and/or post data entered, Extract inputted data

Please could you respond as soon as possible

Thanks

Hi,

Thank you very much for considering Aspose.

Aspose.Pdf.Kit is a component provided by Aspose which can help you out in your requirement. This component has a class named FormEditor which provides the methods to create a form and then post it to the desired URL, where the values can be processed. You can use AddField method to add the form fields in the Pdf file and AddSubmitBtn method will help you add a submit button with the target URL.

I would suggest you to visit the mentioned links and give it a try. If you find any issues or further questions, please do let us know.

Regards,

Hello Andre,

Thanks for considering Aspose.

Adding more to shahzad’s comments, you can create a Pdf file continuing form fields using Aspose.Pdf. For more information please visit Manipulating Form Fields.

You can even add from fields to an existing Pdf form using Aspose.Pdf.Kit. For more related information please visit How to Create and Decorate Form Fields With API?

But according to your requirement, you want to allow the user to fill the form and submit it back through web, you need to use Aspose.Pdf.Kit, which contains a class named FormEditor, and you can use AddSubmitBtn method and you can specify the url to which it submits the form data. You can also submit the form values through email.

First create the Pdf form using Aspose.Pdf or Aspose.Pdf.Kit (but it would require an existing form), add the submit button, export form values to an XML and then import the values from XML into database.

For more information, Please visit Import and Export into XML.

For more information on how to import data into database, please visit Interoperate with DataBase (.NET)

Actually FormEditor.AddSubmitBtn() can add a submit button to existing PDF template, e.g.:

FormEditor formeditor = new FormEditor( "addSubmitBtn.6.in.pdf", "out.pdf");
String mailurl = "mailto:abc@aspose.com";
formeditor.AddSubmitBtn("SubmitBtn1", 1, "Mail to Me",mailurl, 50, 760, 130, 778);
String httpurl = "";
formeditor.AddSubmitBtn("SubmitBtn2", 1, "Submit",httpurl, 250, 760, 330, 778);
formeditor.Save();

While FormEditor.SetSubmitUrl() can change the submit url of a submit button, e.g.:

FormEditor formeditor = new FormEditor("input.pdf", "output.pdf");
formeditor.SetSubmitUrl("SubmitBtn1", "[www.aspose.com](http://www.aspose.com/)");
formeditor.SetSubmitUrl("SubmitBtn2", "mailto:abc@aspose.com");
formeditor.Save();

I am not sure whether they would fulfill your requirement completely, please test it and in case of any further query, feel free to share.

PS: Please visit Aspose.Pdf vs. Aspose.Pdf.Kit regarding information to difference between two products.