Closed (won't fix)
Project:
Webform
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 Apr 2011 at 08:37 UTC
Updated:
28 Apr 2011 at 16:54 UTC
The attached patch adds an option to the textfield component so a "Password" option can be chosen. The input will be rendered then as a password.
I don't know if this is the best way of adding a password field. I've seen another approaches but not for D7, and I found this one more elegant, since no code is duplicated and the patch is relatively small.
| Comment | File | Size | Author |
|---|---|---|---|
| password_field_webforms_d7.patch | 2.56 KB | jorge.suarez |
Comments
Comment #1
jorge.suarez commentedThis patch has a problem. All controls (even the not textfields) have now the "Password" options. Not choosing the "Password" option for any not-textfield control is a good workaround for now. Any advice on how to solve this? Thank you.
Comment #2
quicksketchI've spoken on passwords a couple of times and why we shouldn't have them in Webform.
#133587: Add a password input type
#667432: Implement Drupal's password confirm field as component
#309864: Password validation and confirmation?