field method

Note: STABLE.
This API is reliable and breaking changes are unlikely.

qlik.app.field(fld, statename)

Gets a field reference with methods that can be used to manipulate the field, see Field API.

Version history

Introduced 1.0

Parameters

Name Type Description
fld String Name of the field.
statename String

Optional.

Alternate state name.

Default is $.

Returns

A QField object with methods and properties that can be used to manipulate the field.

Example

var lastNameField = app.field('LastName');
lastNameField.clear();

Did this information help you?

Can you tell us why it did not help you and how we can improve it?