This should do it:

    form = SQLFORM.factory(...)
    submit = form.element("input",_type="submit")
    submit["_type"] = "image"
    submit["_src"] = URL(...)



On Jan 9, 7:37 pm, Frank <[email protected]> wrote:
> I'm try to customize the submit button in auth form to an image button such as
> login, register and retrived password forms etc, what is the better way to do
> it, is that "form.element" or something like that?
>
> thanks,
>
> Frank
-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to