nos-forms-jquery
Version:
Build and validate DRY html forms in minutes with JSON, jQuery and Bootstrap
42 lines (37 loc) • 754 B
Markdown
# Type #
## date ##
#### Example with all options ####
```javascript
{
"name": "dateExample",
"id": "dateId",
"type": "date",
"label": "Date Example",
"title": "Date Example",
"required": true,
"classname": "form-control",
"data": {
"field": 0,
"testing": 123,
},
"autofocus": false,
"autocomplete": true,
"disabled": false,
"readonly": false,
"formGroup": true,
"min": "1900-01-01",
"max": "2015-12-31",
"value": ""
}
```
#### More practical example ####
```javascript
{
"name": "dateExample",
"type": "date",
"label": "Date Example",
"required": true,
"min": "1900-01-01",
"max": "2015-12-31"
}
```