Name property

TextDropDownField.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 drop-down fields matching a certain naming pattern through properties like TextDropDownFields of form screens. Below, an example returns the length of the longest text drop-down field value where the name of the corresponding text drop-down field includes the text string "Required".

Examples

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

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

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

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

Returns a text string containing the labels and values of all text drop-down 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.