Capture a text input from a user and pass it through to a script using the click event
on a button or link.
You can use a textbox as a single-line input field or as a multi-line field. Use a
script to capture the values from this field.
Add a TextBox
This text will be shown in the TextBox when the field loads.
Classes for the TextBox.
Set the TextBox's text properties.
Set the colour of the TextBox's font, background and border.
Set the margins (space) between the TextBox's border and the nearest other control. (The value can be in cm, px or %, e.g. 10px)
Set the padding (space) between the TextBox's text and the border of the TextBox. (The value can be in cm, px or %, e.g. 15%)
Some placeholder text that will show when the TextBox is empty.
If you check this checkbox the contents of the TextBox will be masked and not visible to the user, but the value can still be captured in a script.
Set to True if you want the control to display as read-only (value can't be changed) on the page.
Validations you can apply to the TextBox.
Set to False if you don't want this control to render on the page and be visible to the user.
Set the height of the TextBox in lines. Password will always be 1, no matter what is set here.
Assigning data to a TextBox
To display a TextBox containing a specific value retrieved by a SQL query:
Use an appropriate Event, e.g. Load (page) or Click (button) to which a SetValue action can be added.
Add a SetValue action to assign the field value from the query to the TextBox's Text property.
Retrieving data from a TextBox
Properties that can contain data:
Use an action to capture the values from the control. Go here for more details on how to collect data from controls.