[thelist] asp checkboxes help

Brooking, John John.Brooking at sappi.com
Wed Nov 10 14:10:35 CST 2004


Brian asked:
> ...
> How do I retrieve the multiple checkbox values if there is 
> more than one service?
>
> I am using asp, javascript.
> any ideas??

Brian,

   If you need to process them one at a time, you can use the VBScript
"Split" function to split the list into an array, then loop through the
array. Untested, off the top of my head:
   
   DIM serviceListArray
   serviceListArray = Split( request("serviceid"), "," )
   For Each serviceItem In serviceListArray
      ' Do whatever you want with each item
   Next
   
- John
-- 
 


This message may contain information which is private, privileged or confidential and is intended solely for the use of the individual or entity named in the message. If you are not the intended recipient of this message, please notify the sender thereof and destroy / delete the message. Neither the sender nor Sappi Limited (including its subsidiaries and associated companies) shall incur any liability resulting directly or indirectly from accessing any of the attached files which may contain a virus or the like.



More information about the thelist mailing list