Hi Anthony,

or using the new "replace" functionality:
>
> form.element('input[type=submit]',
>     replace=lambda button: CAT(button, INPUT(...), INPUT(...)))
>
> Those should work with any formstyle.
>
>
This works:

 form.element('input[type=submit]',
    replace=lambda button: CAT(button, 
INPUT(_class="btn",_type="reset",_value="Reset"), 
INPUT(_type="button",_value="Cancel",_onclick="javascript:history.go(-1);")))


Thanks.

Annet

-- 



Reply via email to