.. or use the live code editor. Changes will be reflected in the preview to the right.
// * 1. Required fields *
// define a model
var Person = t.struct({
name: t.Str, // two string properties
surname: t.Str
});
// get the form
var Form = t.form.create(Person);