LittleCub Forms

Light-Weight, High-Performance & Easily Customizable

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

List of supported JSON schema keywords.

List of supported LittleCub config options.

Example 1 :

Hostname control.

Native API

var hostnameControl1 = LittleCub("www.nxfinc.com", {
    "size" : 60
}, {
    "type" : "string",
    "format" : "hostname"
}, document.getElementById('hostname-control-1'));

jQuery API

var hostnameControl1j = $('#hostname-control-1-j').lc("www.nxfinc.com", {
    "size" : 60
}, {
    "type" : "string",
    "format" : "hostname"
});