{text-data}
Plugin: Scaffolding Plugin
Allows editing of free text data.
Usage
{text-data:Name|type=[line, area]}Default text.{text-data}
Parameters
| Name | Required | Default | Description |
|---|---|---|---|
| [default]/name | | The unique name of the text data field. | |
| type | | line
| The type of field. May be one of the following:
Note: Storing data with the 'password' type is not secure - it is not encrypted when stored. At best, it obscures the value when viewed on the screen. |
| content | | wiki
| The type of content in the field. May be one of the following:
|
| minLength | | If specified, the text must be at least this many characters long. | |
| maxLength | | If specified, the text must be at most this many characters long. | |
| width | | The width of the text field. E.g. '250px' or '100%'. | |
| height | | The height of the text field. E.g. '250px' or '100%'. | |
| required | | false
| If true the field cannot be empty. |
| pattern | | The regular expression the text must match. (Since 3.1.0) | |
| patternInfo | | If the pattern is specified, this is displayed if the saved value does not match it. (Since 3.1.0) |
Examples
Login details
Username: {text-data:Username|width=100px}{text-data}
Password: {text-data:Password|type=password|width=100px}{text-data}
Large text area
|| Address: | {text-data:Address|type=area|width=400px|height=150px}Street,
City, State, Postcode
Country{text-data} |
Discussions