Dim a,b,c, d, e As Map
a = CreateMap("bind":"firstname","type":"text","label":"Firstname","labelwidth":"80px","width":"250px")
b = CreateMap("type":"blank","rowHeight":"10px")
c = CreateMap("type":"button","text":"Sign up","width":"90px","align":"right","columnWidth":"50%")
e = CreateMap("type":"button","text":"Cancel","width":"90px","height":"30px","columnWidth":"50%","rowHeight":"40px")
d = CreateMap("columns":Array(c,e))
Dim m As Object = Array(a,b,d)
Form.Initialize(Me, "sampleForm","sampleForm")
Form.style="width: 400px; height: auto;"
Form.SetProp(CreateMap("template":m, "padding":"{ left: 10, top: 10, right: 10, bottom: 10 }"))
Form.AddToParent("body")