Reference Syntax

FormCalc provides access to form design object properties and values using a reference syntax. The following example demonstrates both assigning and retrieving object values:

    Invoice_Total.rawValue = Invoice_SubTotal.rawValue * (8 / 100)

In this case the reference syntax Invoice_Total assigns the value of Invoice_SubTotal * (8 / 100) to the field Invoice_Total .

In the context of form design, a fully qualified reference syntax enables access to all the objects on a form design.

To make accessing object properties and values easier, FormCalc includes reference syntax shortcuts to reduce the effort required to create references.

// Ethnio survey code removed