Not built in (that I know of) but you can add one easily:

def index():
    form = SQLFORM.factory(Field('thing'),Field('stuff'))
    submit = form.element('input',_type='submit')
    reset =
INPUT(_type='button',_onclick='jQuery(this).parents("form:first")
[0].reset()',_value='Reset')
    submit.parent.insert(0, reset)
    return dict(form=form)


On Sep 4, 2:55 pm, b vivek <bvivek1...@gmail.com> wrote:
> Hi !
> The SQL Form and the Crud both are really good, but while generating forms
> is there any way , they generate a reset button too.
> Thanks
> Vivek

Reply via email to