mystring = string(default='foo',min=2,max=10) # A string
myinteger = integer(default=4, min=-2, max=10) # A integer with min and max
myinteger2 = integer(default=2, min=-1) # A integer with min but no max
myoption = option(default='baz','bar','baz') # Options
myip = ip_addr(default='127.0.0.1') # An IP address
mylist = list(default=list('a','b')) # A list
myintlist = int_list(default=list(1,2)) # A list of integers
myfloat = float(default=2.2, min=-1, max=10.0) # A float with min and max
myfloat2 = float(default=1.1, min=-0.2) # A float with min but no max
mycheckbox = boolean(default=True) # A checkbox
nondefault = integer # An integer with no default value

[__many__]
[[level2]]
enabled = boolean(default=True)

mystring = string(default='foo',min=2,max=10) # A string
myinteger = integer(default=4, min=-2, max=10) # A integer with min and max
myinteger2 = integer(default=2, min=-1) # A integer with min but no max
myoption = option(default='baz','bar','baz') # Options
myip = ip_addr(default='127.0.0.1') # An IP address
mylist = list(default=list('a','b')) # A list
myintlist = int_list(default=list(1,2)) # A list of integers
myfloat = float(default=2.2, min=-1, max=10.0) # A float with min and max
myfloat2 = float(default=1.1, min=-0.2) # A float with min but no max
mycheckbox = boolean(default=True) # A checkbox
nondefault = integer # An integer with no default value
custom = mytype # Custom type

[__many__]
[[level2]]
enabled = boolean(default=True)
[[[__many__]]]

Add custom type to example
Add custom type to example
