One-Line Text Box Properties dialog box

Develop > Form > Form field > One-Line Text Box

A one-line text box is used to allow a site visitor to enter a small amount of text in a form.

Name

Enter a name for the one-line text box. The name is used to distinguish this field from other fields in the same form.

Initial value

Enter the text that will initially appear in the text box when the document is loaded in a browser. Leave blank to have nothing initially appear in the text box.

Width (characters)

Specifies the width of the text box in terms of character width. For example, enter 10 to make the text box the width of ten characters of average-width. Note that this is not an exact measure, so you may have to experiment with different values to get the intended width.

Maximum input length

Determines the maximum number of characters that can be entered in the text box.

Input type

Standard text

This input type is suitable for most uses.

Password

This input type displays each entered character as an asterisk (‘*’). Useful for password fields.

Style

Click to attach a CSS style to the text box using the Style dialog box.

One-Line Text Box Properties dialog box