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")
    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.

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