TPL Information

Alpha TransForm Programming Language -TPL

The only mobile form/data capture app that
offers the flexibility that comes with program-ability


TPL is a means by which a mobile app builder, with the proper permissions, can completely specify the behavior of a TransForm app.

TPL has an extensive function library tuned to the needs of TransForm forms.

(While not identical to any other programming language, its syntax and semantics will be familiar and
easily learned by developers familiar with languages such as Basic, JavaScript, Java, and C.)



Code in the programming language is used in TransForm in three main ways:

(1) Standalone expressions to calculate values for display or condition testing, and

(2) Multi-line functions to respond to events such as field value changes or button taps, or to be called in expressions or other functions. A runtime debugger is included

(3) Working with large amounts of data (including data, video, pdf’s and other content) stored in the on-device SQLite database that is available on Apple and Android mobile devices




TPL enables operations such as:

Scanning a barcode or selecting from a list and then having the contents of other fields automatically filled in based upon the contents of a SQL on-device database while off-line.

Accessing REST APIs and other services when on-line to obtain data, do transactions, or for other purposes.

Pro-grammatically performing data validation and transformations, and applying complex business rules as the form is filled in.

Filtering choices in lists based upon the values of other fields.

Controlling all aspects of the Form Filler operation.








Table of Contents


Samples of Use

Some examples of TPL programs.

Data Types

The types of data items and organization manipulated by TPL code.

Data Model

The particular data structures available to TPL code, including form data and local variables, and how it is accessed.


The operators and operands that are used for computation.


The types of statements, including those for looping, testing conditionals, and flow-control.


Using built-in and user-defined functions in expressions.


The times when TPL code is executed and the restrictions sometimes imposed.

User-Defined Functions

Defining and using functions written by the form designer.

Built-in Functions

An overview of the functions built-in to TPL.

Link to the documentation