LittleCub Forms

Light-Weight, High-Performance & Easily Customizable

Control for uri field and as the default control mapped to uri format.

List of supported JSON schema keywords.

List of supported LittleCub config options.

Example 1 :

Uri control.

Native API

var uriControl1 = LittleCub("../index.html", {
    "size" : 60
}, {
    "type" : "string",
    "format" : "uri"
}, document.getElementById('uri-control-1'));

jQuery API

var uriControl1j = $('#uri-control-1-j').lc("../index.html", {
    "size" : 60
}, {
    "type" : "string",
    "format" : "uri"
});