caolan/forms — Issue #19: Object #<Object> has no method 'toHTML'
Author: peterdemartini
Created: 2012-03-09 00:45:24+00:00
State: open

I get this error when I try and use toHTML() on the form I created.

var create_form = forms.create({
title: fields.string({required: true}),
price: fields.number({required: true}),
desc: fields.string({
required: true,
widget: {
type: 'textarea'
}
})
});

console.log('create_form :: '+ create_form.toHTML());