InputBox Method
The InputBox method displays a prompt in a dialog box, waits for the user to enter text or click a button, and returns a string containing the contents of the text box.
Syntax
InputBox(prompt, [title], [default])
Parameters
prompt
Required. String displayed as the message in the dialog box.
title
Optional. String displayed in the title bar of the dialog box.
default
Optional. String expression displayed in the text box as the default response if no other input is provided. If you omit default, the text box is empty.
Return Values
If the user clicks OK or presses ENTER, the InputBox method returns whatever is in the text box. If the user clicks Cancel, the method returns a zero-length string ("").
See Also
From the Sally manual (GPL-2.0-or-later), © 1997-2023 Open Salamander Authors; © 2025-2026 Elias Bachaalany. Source: manual source (zip) · original page in the Sally repository