Hello!

 

I'm using the flowscript to input data into the database through the form.

 

Here is my code:

 

function inputPhisicalParams() {

                var id = cocoon.parameters.id;

                var form = new Form("form-definition/phisical-params.xml");

                var formMap = form.asMap();

                form.showForm("viewform-component-template.html");

                if (formMap) throw "formMap=" + formMap;

}

 

After form.showForm(), and "Submit" on the form - nothing happens:

The page just reload: And I can't get the formMap parameters.

 

Please, help!!! I don't understand what's the problem.

 

 

Reply via email to