Print Page | Close Window

noob question about forms and formfields

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=476
Printed Date: 19 May 24 at 1:44AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: noob question about forms and formfields
Posted By: Aquineas
Subject: noob question about forms and formfields
Date Posted: 24 Jul 06 at 3:20PM
Hi folks.. I'm trying to evaluate QuickPDF as a vehicle to embed a PDF into an application. The PDF will contain loan application data that I will then need to pull out and store in a database. I see by looking at the ActiveX that there are a bunch of methods to handle pulling the information from a given form field (GetFormFieldValue), but my question is, for data validation and error checking purposes, is there a means to attach event handlers to user actions? For example, when they move from one field to another, I'd like to be able to validate some data and potentially do some additional checking.

Thanks folks.



Replies:
Posted By: chicks
Date Posted: 24 Jul 06 at 3:36PM
What user actions? Are you planning to write a replacement for Adobe Reader?

As with most PDF libraries, QuickPDF is meant to create and modify PDF files, and cannot interact with Adobe Reader or Acrobat in any way.


Posted By: bogey
Date Posted: 25 Jul 06 at 10:33AM

All "clientside" validation is done by embedding javascript in the PDF. You can create the form in Acrobat and set these javascript validations in the file. Or you can use the QP.FormFieldJavascriptAction method to set the validations in the formfields of PDF.

Either way, I have always found it difficult to get the "internal" PDF validations to work.

 




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk