Closed
Bug 622148
Opened 14 years ago
Closed 14 years ago
Add FacebookURLField and TwitterURLField with validation
Categories
(support.mozilla.org :: Users and Groups, task)
support.mozilla.org
Users and Groups
Tracking
(Not tracked)
VERIFIED
FIXED
2.4.1
People
(Reporter: jsocol, Assigned: jsocol)
Details
If we subclass URLField and add extra validation that makes sure the URL is from the right domain, our new profiles will actually require those fields be filled in correctly. FacebookURLField(URLField): """Requires the domain be Facebook.""" TwitterURLField(URLField): """Requires the domain be Twitter.""" We could also add widgets with HTML5 Forms patterns to do client-side validation.
Assignee | ||
Comment 1•14 years ago
|
||
(In reply to comment #0) > We could also add widgets with HTML5 Forms patterns to do client-side > validation. Actually, we don't need to add widget classes, we can just add custom attributes.
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → james
Assignee | ||
Comment 2•14 years ago
|
||
Fixed! https://github.com/jsocol/kitsune/commit/7951ad0 Ignore the implementation suggestions in the first two comments.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•