nos-forms-jquery
Version:
Build and validate DRY html forms in minutes with JSON, jQuery and Bootstrap
40 lines (37 loc) • 767 B
Markdown
# Type #
## url ##
#### Example with all options ####
```javascript
{
"name": "urlExample",
"id": "urlId",
"type": "url",
"label": "URL Example",
"title": "URL Example",
"disabled": false,
"autofocus": false,
"readonly": false,
"required": true,
"data": {
"field": 0,
"testing": 123,
},
"classname": "form-control",
"formGroup": true,
"minlength": 1,
"maxlength": 60,
"placeholder": "http://www.example.com",
"value": ""
}
```
#### More practical example ####
```javascript
{
"name": "urlExample",
"type": "url",
"label": "URL Example",
"required": true,
"maxlength": 60,
"placeholder": "http://www.example.com"
}
```