[Zope] Checkboxes/SQL data type problem

Aseem Mohanty aseem@neurobehavioralsystems.com
Thu, 20 Jun 2002 02:17:18 -0700


Thanks for the link. I had actually seen it in an earlier mail of yours.

The problem I had with that version, and the reason I had to go the 
roundabout way was that once I named it
name=xxx:list ( <input type='hidden' name='deleted_users:list' value=''> )
I could no longer use it in a javascript on the page.

If I tried to access it by just form_name.xxx
( <div onclick="document.manage_members.deleted_users.value='<dtml-var 
"member_data.user_id">';return true;"> )
I got a javascript error : "no object..."

and if I accessed it using the name
( <div 
onclick="document.manage_members.deleted_users:list.value='<dtml-var 
"member_data.user_id">';return true;"> )
 ... I got a expected ';' error.

Hence I just decided to do it the dirty way. Any suggestions as to how 
to get around that problem.

TIA
AM

 
==================================================================
 Aseem Mohanty							   
 Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706 
 (R) 510 7696011 (M) 510 3014871 (O) 510 5279231		  	
==================================================================								  	
 "I saw `cout' being shifted "Hello world" times to the left and  
  stopped right there!!"                        -- Steve Gonedes  
==================================================================