Description |
Displays an input box allowing the user to enter a value. The value entered is saved to the variable specified. Workflow execution is paused while the Workflow waits for a value to be entered. Useful for asking a question that requires a text response at runtime. Similar to the Message Box <AMMESSAGEBOX> action except allows the user to enter a text value in response to a question. The text value is populated into a variable. |
Declaration |
<AMINPUTBOX MESSAGETEXT="text" RESULTVARIABLE="text" WINDOWTITLE="text" POSITION="text [options]" XPOS="number" YPOS="number" DEFAULTBUTTON="number" ICON="text [option]" WINDOWINFRONT="yes/no" COUNTDOWNDELAY="number"> |
Example |
<AMINPUTBOX WINDOWTITLE="Question" RESULTVARIABLE="myvar" ICON="question" COUNTDOWNDELAY="10">Would you like to continue?</AMINPUTBOX> |
General Tab Parameters |
Message to display: Specifies the text to be displayed in the dialog box. Usually this is a question that the user should answer. Text, required
Default value: Specifies the value used if user does not enter a value. Populate variable with value entered: Specifies the name of an already created variable that should be populated with the text that the user has input as a response to the question. text, Optional - Default (none) Title of the input box: Specifies the title of the input dialog box. Text, optional Default (blank) Bring message to front of all other windows: When enabled/selected, displays the input box in front of all other open windows. |
Advanced Tab Parameters |
Position: Specifies the button or array of buttons that should be displayed on the message box.
Text [options], Optional - Default "center" Display this Icon: Specifies the icon that should be displayed on the message box next to the icon. The icon helps to determine what type of message is being displayed.
text [options], Optional - Default "none" Automatically press the default button after: Specifies the time that should elapse before the message box clears itself. If the value is 0, the message box is displayed indefinitely. number, Optional - Default 0 Mask input: When enabled/selected, the user's input appears as pound symbols (#). X Pos: Specifies the X (horizontal) coordinates of the position that the message box dialog should be displayed on the screen. This option is only valid if POSITION="custom", otherwise it is ignored. Number, Optional - Default 0 Y Pos: Specifies the Y (vertical) coordinates of the position that the message box dialog should be displayed on the screen. This option is only valid if POSITION="custom", otherwise it is ignored. Number, Optional - Default 0 |
See Also |