Skip to main content

Global context.InputStringAsync

InputStringAsync

Syntax

InputStringAsync(<String>, <Tooltip>, <Length>, <Multiline>)

Parameters

<String> (required)

Type: String. Variable available in the module. The initial variable value will be used as an initial value in the dialog box.

<Tooltip> (optional)

Type: String. Text of the string input dialog box title. Can be used as a hint for users. Default value: A blank string.

<Length> (optional)

Type: Number. Length of a string to be entered. If the parameter is not specified, the string length is not limited. Default value: 0.

<Multiline> (optional)

Type: Boolean. Defines the input mode for a multiline text: if True, a multiline text is entered with string separators, if False, a blank string is entered. Default value: False.

Returned value

Type: Promise. The promise execution result is the entered string value or Undefined if a user did not enter anything.

Description

Asynchronous function. Calls a dialog box to enter a string but does not wait for input to complete.

Availability

Thin client, web-client, mobile client, thick client, mobile application (client).

See also

Global context, method InputString

Translation

Русская версия: Глобальный контекст.ВвестиСтрокуАсинх (Global context.InputStringAsync)