Hi Jose,

I'm not clear exactly what you want to do. When you say an array of
checkboxes, checkboxes on forms return name value pairs like any other form
input. 

What makes your checkboxes a group? Are they all named the same? If so, you
can get an array of selected values using <@arg name=myCheckboxes
type=array>. 

Of course you can use <@arg > tags inside your method, but this tightly
couples the method to the particular form.

Does this help? You might need to elaborate.

Simon.

-----Original Message-----
From: Jose Kuhn [mailto:[EMAIL PROTECTED]]
Sent: 12 August 2002 15:40
To: Multiple recipients of list witango-talk
Subject: Witango-Talk: Passing checkbox "arrays" into a TCF


When I have an array of checkboxes. I want to pass the checked values into a
TCF. Right now I create and empty array and fill it with the checked values
(using a for loop) and then pass it to the object.

Is there a more elegant way/?


Jose

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body


********************************************************************
This message is intended only for the use of the person(s) ("the intended
recipient(s)") to whom it is addressed. It may contain information which is
privileged and confidential within the meaning of applicable law. If you 
are not the intended recipient, please contact the sender as soon as
possible. The views expressed in this communication may not necessarily
be the views held by LGCSB (Local Government Computer Services Board).
 
Any attachments  have been checked by a virus scanner and appear to be 
clean.
Please ensure that you also scan all messages, as LGCSB does not accept
any liability for contamination or damage to your systems.


********************************************************************

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to