Event.Form.Inputs(FID).Caption

.Caption returns the DEACOM caption text of the form element selected.

Applies To

Properties and Methods

None

Available

The .Caption property is available in:

  • 15.03.016
  • All newer builds

Note: The .Caption property and all sub-classes, properties, and methods are only available in Form Layout scripts.

Type

String

Syntax

Event.Form.Inputs(FID).Caption;

Parameters

None

Example

//--Add this script to the contadd record load event to view

var lpComp = Event.Form.Inputs('Input_eCONT_co_company');

Event.Form.MessageBox("'" + lpComp.Caption + "'");

 

/*Expected Prompt response:

'Company'

*/