8 Nov
1999
8 Nov
'99
10:33 p.m.
JScript attributes are also dictionary items, so you can set/access attributes whose names aren't legal identifiers using the dictionary syntax: form['oname:required'].value ----- Original Message ----- From: Sam Gendler <sgendler@teknolojix.com>
If I have a form field name of "oname:required", in order to allow zope to force an entry in that field, how can I access the value of that field from javascript. The normal form.fieldname.value doesn't work, since it would look like 'form.oname:required.value' and javascript barfs on that. There must be a solution to this, anyone know what it is?
Cheers, Evan @ 4-am