"gasolin" <[EMAIL PROTECTED]> writes:

>> I can't find a way to tell the form to use a 'name' in the submit button.
>
> you could do it with submit_text param
>
> do it in controller:
>
> class BookMarkForm(TableForm):
>     fields = BookMarkFields()
>     submit_text = "Create" <----------check this line
>
> or do it in template:
>
>  form(value=record, action='xxxx', submit_text = "Edit")

See that this change the "value" of the button, not its "name" property. 

-- 
Jorge Godoy      <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to