[Zope] how to fill form values name:int in javascript?

Peter Bengtsson peter at fry-it.com
Thu Aug 30 05:57:06 EDT 2007

Jaroslav Lukesh wrote:
> Hi,
> This is typically not zope question, but I does not find solution for 
> this zopiness. I need to fill from javascript form fields with defined 
> zope type:
> <input type="text" name="number:int" value="0">
> and how to address it in javascript? This make JS error for me:
> document.forms['form_name'].number:int.value =1;
like this:
document.forms['form_name']['number:int'].value =1;

Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com

More information about the Zope mailing list