In this tutorial, you will create an application that shows you how to read, modify, and write forms using the Form Library
By working through the tutorial, you will perform all of the steps involved in creating a simple application that uses the API functions, including:
- Initializing the Form Library.
- Reading a form into your application.
- Setting and retrieving form data.
- Removing a form from memory.
- Destroying a form.
The sample application in this tutorial reads an input form called CalculateAge.xfd into memory. It retrieves the user's birth day, month, and year as well as the current date from the form. It then places these values into hidden fields in the form. This triggers the form to compute the user's age and display the result. When complete, the application saves the changes made to calculateAge.xfd as a new form called Output.xfd.
The sample application described in this tutorial is included with the API and can be found in the folder: <API Program Folder
The tutorial describes the following tasks:
Parent topic: C Tutorials: API 4 C T