-
Notifications
You must be signed in to change notification settings - Fork 2
Field Types
Noodlewitt edited this page Nov 27, 2014
·
7 revisions
There's a number of field types. Each one has a field parameters column, where you can customise the field add in validation, add in a tooltip etc.:
{
"tooltip":"",
"max_number":1
}
{
"validation": {
"mimes":"gif,jpeg,bmp,png",
"size":"5120"
},
"tooltip": "",
"count": 1
}
{
"values": {
"checked": "1",
"unchecked": "0"
},
"tooltip": ""
}
for printing static fields
Textarea boxes
{
"validation": {
"mimes":"gif,jpeg,bmp,png",
"size":"5120"
},
"tooltip": "",
"count": 1
}
###datepicker uses plugin here: http://eternicode.github.io/bootstrap-datepicker/ - as such, options can go into the options object like this..
{
"options":{
"data-date-format": "dd/mm/yyyy",
"data-date-today-button": "true"
},
"max_number":1,
"tooltip": ""
}
###tinymce
This shows a tinymce editor so they can add in links, images etc as content. It's based off the tinymce plugin. Advanced options will eventually be in here too.
will be tabulated data for multiple fields