Hi Murray
I'm assuming you're using CForms in which case your flowscript would look
something like
this:
var form = new Form("forms/formModel.xml");
form.showForm("form-display-pipeline");
if(form.isValid) {
var model = form.getModel();
var field1 = model.field1;
var field2 = model.field2;
}
The model field values will be typed according to the form model defintion.
If using regular HTML forms the syntax would be:
var field1 = cocoon.request.getParameter("field1");
HTH
Adam
-----Original Message-----
From: Murray Cassie [mailto:[EMAIL PROTECTED]
Sent: Monday, 17 January 2005 11:02 p.m.
To: [email protected]
Subject: flowscript accessing forms object
Hi,
could anyone tell me (best with example) how I access
the POST DATA from inside a flow script. I need to
access
fields in the form object.
Thanks and best regards
Cassie
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]