I have this custom form:

 {{=form.create_form.custom.begin}}
      {{=*form.create_form.custom.widget.field*}}
      {{=form.create_form.custom.submit}}
 {{=form.create_form.custom.end}}


how do I attach an event "onclick" to the widget 'field", to obtain this?

<input onclick="foo()" id="form_field" name="field" type="text" value="" />

-- 



Reply via email to