On 30/09/2009, at 6:54 AM, Krishnakant wrote:

>
> hello all,
> Can some one send me a complete example of a form built with  
> tw.forms in
> pylons?
> Looking at the feedbacks I got in my previous thread from friends like
> Graham etc, I have decided to go with toscawidgets, presisely  
> tw.forms.
> But all the tutorials I have searched on the web have some problems.
> I found one good tutorial at http://albertovalverde.es/tags/toscawidgets
> But the imports itself are wrong out here.
> What I want is some one who can provide me one control file that  
> renders
> a mako template with a tw.form containing one text field, let's say  
> full
> name,
> One drop down list let's say favorite cars., and a set of check boxes
> and submit buttion.
> I will be really thankful if some one can get me started in the right
> direction.

If you take a look at the BlastOff Pylons template, it contains a full  
user registration form with validation using tw.forms. Quickstart a  
project using the BlastOff template and you'll have a working  
example.  http://pypi.python.org/pypi/BlastOff

Cheers,
Chris


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

Reply via email to