LittleCub Forms

Light-Weight, High-Performance & Easily Customizable

Control for datetime field and as the default control mapped to date-time format.

List of supported JSON schema keywords.

List of supported LittleCub config options.

Example 1 :

Datetime control.

Native API

var datetimeControl1 = LittleCub("10/08/2012", {
    "size" : 60
}, {
    "type" : "string",
    "format" : "date-time"
}, document.getElementById('datetime-control-1'));

jQuery API

var datetimeControl1j = $('#datetime-control-1-j').lc("10/08/2012", {
    "size" : 60
}, {
    "type" : "string",
    "format" : "date-time"
});