I probably found the way using:
form=SQLFORM(db.task)
form.element(_name='subject')
['_dojoType']="dijit.form.ValidationTextBox"

David

On 23 kvě, 17:52, David Marko <[email protected]> wrote:
> Hello,
> how can I add attributes to fields generated by SQLFORM?  I would like
> to use DojoToolkit in declarative way, which means, that each tag has
> to contain dojoType='XXX' attribute defining the Dojo widget name. How
> can I specify additional attributes to fields gerenated by SQLFORM
> helper?  Field(xxxx) doesnt seem to allow defining such attributes.
>
> Thank you for any help.
> David

Reply via email to