LittleCub Forms

Light-Weight, High-Performance & Easily Customizable

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

List of supported JSON schema keywords.

List of supported LittleCub config options.

Example 1 :

Ipv6 control.

Native API

var ipv6Control1 = LittleCub("2001:0db8:85a3:0000:0000:8a2e:0370:7334", {
    "size" : 60
}, {
    "type" : "string",
    "format" : "ipv6"
}, document.getElementById('ipv6-control-1'));

jQuery API

var ipv6Control1j = $('#ipv6-control-1-j').lc("2001:0db8:85a3:0000:0000:8a2e:0370:7334", {
    "size" : 60
}, {
    "type" : "string",
    "format" : "ipv6"
});