LittleCub Forms

Light-Weight, High-Performance & Easily Customizable

Control for ip address field (v4) and as the default control mapped to ipv4 format.

List of supported JSON schema keywords.

List of supported LittleCub config options.

Example 1 :

Ipv4 control.

Native API

var ipv4Control1 = LittleCub("10.20", {
    "size" : 60
}, {
    "type" : "string",
    "format" : "ipv4"
}, document.getElementById('ipv4-control-1'));

jQuery API

var ipv4Control1j = $('#ipv4-control-1-j').lc("10.20", {
    "size" : 60
}, {
    "type" : "string",
    "format" : "ipv4"
});