nos-forms-jquery
Version:
Build and validate DRY html forms in minutes with JSON, jQuery and Bootstrap
42 lines (37 loc) • 758 B
Markdown
# Type #
## textarea ##
#### Example with all options ####
```javascript
{
"name": "taExample",
"type": "textarea",
"label": "Textarea Example",
"required": true,
"classname": "form-control",
"formGroup": true,
"placeholder": "Textarea content here",
"autofocus": false,
"minlength": 1,
"maxlength": 200,
"data": {
"field": 0,
"testing": 123,
},
"title": "Textarea Example",
"rows": 8,
"cols": 100,
"wrap": "hard",
"value": ""
}
```
#### More practical example ####
```javascript
{
"name": "taExample",
"type": "textarea",
"label": "Textarea Example",
"required": true,
"maxlength": 200,
"rows": 8,
}
```