Lol, as I posted it I was wondering if someone was going to mention that.. I was in a preliminary stage of my registration form. I now have the whole validations with schema thing going on with chained validators. Pretty slick stuff.
Thanks for the constructive comment though, I appreciate it. I am a small-timer and have about an hour an evening to work on my projects these days. Sometimes things most take for granted like a *complete* registration form take longer for me! I got TurboMail up and going last night. That was awesome as well! I'm really excited about Turbogears. Can you tell? :-) On Feb 13, 8:20 am, "Lukasz Szybalski" <[EMAIL PROTECTED]> wrote: > On Feb 12, 2008 11:50 AM, lorax <[EMAIL PROTECTED]> wrote: > > > > > Hi there.. I'm very new to TG and to Python.. Sorry if this is > > obvious. I'm having a problem with a simple registration form I've > > created with widgets. I've declared a PasswordField and when it comes > > up in the form it seems to have a pre-entered value.. It shows six > > asterisks by default. Is there a way to make them go away? Here is > > my widget list: > > > class registrationFields(widgets.WidgetsList): > > userid = widgets.TextField(validator=validators.NotEmpty(), > > label="User ID") > > password = widgets.PasswordField(validator=validators.NotEmpty(), > > label="Password") > > I noticed that you are using a single password field? Shouldn't you be > using 2 password fields and make sure they are both filled with the > same values? Something like > here:http://lucasmanual.com/mywiki/TurboGears#head-432f58816385331746fd299... > > > > > first_name = widgets.TextField(validator=validators.NotEmpty(), > > label="First Name") > > last_name = widgets.TextField(validator=validators.NotEmpty(), > > label="Last Name") > > > Here is how the password field gets generated in html: > > > <th> > > <label class="fieldlabel" > > for="form_password">Password</label> > > </th> > > <td> > > > <input class="passwordfield requiredfield" > > type="password" id="form_password" name="password"> > > </td> > > > thanks. > > -- > Vehicle Information Number. Check for Authentic VINhttp://lucasmanual.com/vin > TurboGears Documentation:http://www.lucasmanual.com/mywiki/TurboGears --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

