getChoices

The getChoices method gets the valid_choices part of a prompt from a LuaUserPrompt object. A LuaUserPrompt object is a prompt string, with optional metadata, to return to the user.

Syntax

getChoices()

Returns

(strings) The valid choices for the prompt.

Example

local choices = LuaUserPrompt:getChoices()

_HP_HTML5_bannerTitle.htm