[Zope] form variable types conflicts with javascript

Albert Ting alt@sonic.net
Tue, 24 Jul 2001 16:48:46 -0700


Form type variables are great, but it causes a problem with
Javascript.  Example:  

 <input name="default" type="checkbox"
       onClick="setDefault(this,this.form.name:list)">
 <input name="name:list" type="text">

This doesn't work, as Javascript won't recognize name:list as a
variable name when calling setDefault.  I've tried various
combinations with no such luck.  Any suggestions?

Thanks,
Albert