Name property

TextField.Name — Text

The name, as assigned in Calcapp Creator.

Field names are normally assigned automatically by Calcapp Creator based on their labels, though a name can be provided manually as well.

Providing names manually makes it possible to find all text fields matching a certain naming pattern through properties like TextFields of form screens. Below, an example returns the length of the longest text field value where the name of the corresponding text field includes the text string "Required".

Examples

TEXTJOIN(", ", FALSE, App.TextFields.Name)TEXTJOIN(", "; FALSE; App,TextFields,Name)

Returns a comma-separated text string containing the names of all text fields of the app.

MAX(LEN(FILTER(App.TextFields, CONTAINS(App.TextFields.Name, "Required"))))MAX(LEN(FILTER(App,TextFields; CONTAINS(App,TextFields,Name; "Required"))))

Returns the length of the longest text field value where the name of the text field includes the text string "Required".

LET(RequiredFields := FILTER(App.TextFields, CONTAINS(App.TextFields.Name, "Required")), TEXTJOIN(NEWLINE(), FALSE, RequiredFields.Label & " — " & RequiredFields.Value))LET(RequiredFields := FILTER(App,TextFields; CONTAINS(App,TextFields,Name; "Required")); TEXTJOIN(NEWLINE(); FALSE; RequiredFields,Label & " — " & RequiredFields,Value))

Returns a text string containing the labels and values of all text fields whose names include the text string "Required". Labels and values are separated from one another with hyphens, and fields are separated from one another with line breaks.