getFieldValue

Usable on NewEdit pages and parameter pages. Returns the current value of the input field with the given name on the current page. The exact type of the return value depends on which control the field uses and can vary between versions.

Returns null if no field with the given name exists.

Alternatives

If practice you rarely need to call this function as scripts directly connected to a control, such as visiblity scripts and button scripts, can simply use the {fieldname} notation to reference another field's value.

Usage

getFieldValue(fieldname)

Parameters

fieldname : String

The field's name. Is no field with this name exists on the current input page then the return value will be null.