Community articleThe Calculate Age Sample Application
Added by IBM contributorIBM on July 26, 2013
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

The Calculate Age sample application demonstrates the most commonly used functions in the API.
This application reads a form called CalculateAge.xfd into memory, and reads the values for the year, month, and day of birth from the form. It then writes those values into a series of hidden fields that are used by a compute to determine the person's age. Once the values are written, the application writes the form as Output.xfd.