[Zope] dtml naming conventions and js
Casey Duncan
casey@zope.com
31 May 2002 13:08:39 -0400
Use the following syntax:
form['aForm.aField:record']
hth,
-Casey
On Fri, 2002-05-31 at 12:20, p.t. wrote:
> Hi,
> I've a form-field set that would be convinient to name as a record,
> something like:
>
> <input type="text" name="aForm.aField:record" value="aValue">
>
> Having the necessity to reference some of these fields using java script,
> it appears that the fieldname violates the js namimg conventions.
> I know that I can change name like aForm_aField, but this forces me to
> extract the dictionary parsing the REQUEST.form.
> Does somebody know if there is a way to work around the js problem using
> the :record naming convention?
> TIA,
> p.t.