Hello Cocoon developers,
Would it be possible to load a form from a DOM tree instead of from a uri using the javascript flow api?
I'm creating a multiform wizard using Cocoon Forms and would like to put all the form definitions inside the same wizard.xml file.
DefaultFormManager has a createForm(Element formElement) method, but Form.js does not seem to support it. You can only do like this:
var form = new Form(formUri);
not like this:
var form = new Form(formElement);
Looking forward to hearing your opinion.
Best regards. Eirik.