[EMAIL PROTECTED] writes:

Hello, I'd like to use widgets to make a form. And to make things
easier for the end-user, I'd like to fill the fields which can be
guessed. But how can I do this ?

What is a "guessed" value?  How and when are you guessing it?  If after the
page was displayed, you can use JS to change the values...

I'd like to do something like
add_people_form['lastname'].default='the lastname that we have guessed'

so how can I do to touch the:
- default : so I can put a text in the textfield
- attrs   : that I can change for e.g. the size

You can't after you have instantiated the class.  But you can pass values to
be displayed and they'll fill the correct fields.


--
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