Cocoon 2.1.8
 
I'm using flowscript to create a form, that consists of variable
number
of checkboxes:
 
   var theForm = new Form("cocoon:/myform-create.xml");
    theForm.showForm("rep/myform-display");  
    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.

Thanks
Derek

-- 
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
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
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
[EMAIL PROTECTED]


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to