O'Reilly logo

ColdFusion 8 Developer Tutorial by John Farrar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Populating PDF Forms with Data

While working with inserting data into PDF Forms, the data format used is an XML document. The picture here is a filled-out PDF Form being sent back to the data department. We can add logic to the required fields, and do something similar to what we do on web forms by using PDF forms. We put one required field, which is

employee ID, on our testing form. It will prevent submission and display a generic warning if this field is left empty. We will leave it empty in our sample data for better understanding. We actually used the read function of this tag to get the XML structure so that the form can be filled. There is no need to create this manually, when it is so easy to just use the built-in features of ColdFusion. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required