Thanks...  I worked it out with your help.

The docs kind of confuse me.

I changed this:
fields = [TextField('foo', validator=Int(), not_empty=True),
default=10]

On Mar 13, 2:30 pm, Christoph Zwerschke <[email protected]> wrote:
> Julian Yap schrieb:
>
> > I'm looking to have a default value in a rendered form element.  eg.
> > <input ... value="x">
>
> TG and Tosca Widgets have a "default" option for this.
>
> -- Christoph
--~--~---------~--~----~------------~-------~--~----~
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