cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <>
Subject Processing checkboxes from a form via flowscript
Date Thu, 31 May 2007 10:29:44 GMT
Cocoon 2.1.8
I'm using flowscript to create a form, that consists of variable
of checkboxes:
   var theForm = new Form("cocoon:/myform-create.xml");
    var nmodel = theForm.getModel();
    var theValues = Array();
Now I need to process all the checkboxes and do the following:
* test if the ID matches a certain pattern AND checkbox is checked
* extract the value of the checkbox name
* store the result in the "theValues" array
I'd appreciate any pointers to sample code on how to do this.


This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
CSIR E-mail Legal Notice 
CSIR Copyright, Terms and Conditions 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message