Maybe this will work:
form.element('input[type=submit]', replace=lambda button:
CAT(INPUT(_class="btn",_type="reset",_value="Reset", button)))
Which adds a reset button, which is not a back button ...
INPUT(_class="btn",_type="button",_value="Back",_onclick="javascript:history.go(-1);")
Regards,
Annet
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.