You are here: Field Rules Reference > Field Rules Summary > TerSubstitute

TerSubstitute

Use this field level rule to emulate TerSub entry functionality. You add this rule to a multiline text field that has been designated as one which can grow.

Syntax

TerSubstitute (Key1,Key2,FormName,Recipient)

Parameter

Description

Key1

Enter the name of Key1, such as Key1=AccountNo.

Key2

Enter the name of Key2, such as Key2=Name.

FormName

Enter the name of the form, such as FormName=XYZ.fap

Recipient

Enter the name of the recipient, such as Recipient=Agent.

Note For all parameters, you can use the names of GVM variables instead of actual values.

The text to include in TerSubstitution is stored in the text areas of the sections. The sections are listed in the FORM.DAT file under a dummy Key1, Key2, and FormName. The rule finds the entry in the FORM.DAT file for the Key1,Key2,FormName parameters and uses the text from any sections with the supplied recipient.