Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

Just exceptional. Thank you so much, Jack, you smashed it.

— Hugo, Developer

Text Fieldtype

A text field that has the ability to morph into an intergalactic dragon and devour entire planets! Just kidding — you just type stuff into the box. Pretty basic.

Text Fieldtype UI
The Text Fieldtype in action!

Options

append

string

Add text after (to the right of) the text input.

character_limit

integer

Set the maximum number of enterable characters.

input_type

string

Control the HTML5 input type. Options: color, date, email, hidden, month, number, password, tel, text, time, url, and week. Default: text.

prepend

string

Add text to the beginning (to the left of) the text input.

placeholder

string

Set some default placeholder text.

Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →