Try this:
form.Button("This is a really nice submit button description",
type="submit")
Alec
On Oct 9, 2009, at Oct 9, 2009 - 10:19 AM, bm wrote:
>
> Hi!
> How can I add a sumbit button with given description into my form?
>
> I've tried to do like that:
> testForm = form.Form(
> form.Textbox('q', description='Query: '),
> form.Button('submit', type='submit', description='Go')
> )
> and anyway I get a button with 'submit' text on it.
>
> Also, I've tried to add a "value='Go'" parameter but get nothing.
>
> Or maybe I should use html-code of submit button in my template?
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---