Opened 15 years ago
Closed 8 years ago
#1107 closed enhancement (patchwelcome)
Feature Request: Pure JS Input Masks
Reported by: | Owned by: | dante | |
---|---|---|---|
Priority: | high | Milestone: | future |
Component: | Dijit - Form | Version: | |
Keywords: | input masks, input mask | Cc: | |
Blocked By: | Blocking: |
Description (last modified by )
Greetings, any takers on the idea of creating a set of widgets/function(s) to perform pure JS input masking on text fields/areas. This would be a very-nice-to-have tool in the dojo arsenal since IE7 breaks most of the HTC behaviors which provide this functionality, while FF doesn’t support them at all.
Some of the most popular uses would be for date/time, phone/fax, currency, postal code, SS/tax-id and ip address fields. When combined with the existing validation routines, masks such as these would provide a very rich set of common GUI-side tools that would make dojo a must have (or must have it even more now) for many web-app developers.
Change History (8)
comment:1 Changed 15 years ago by
Milestone: | → 0.6 |
---|
comment:2 Changed 14 years ago by
Component: | Widgets → Dijit |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:3 Changed 13 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Hi,
what about providing some sort of "prompt" characters that underline the masked input. The current validation components only validate according to a given pattern/ mask, but this one is invisible to the end user. It would be a fancy feature if the mask would be visible and provide some sort of assistence to the user.
comment:4 Changed 13 years ago by
Milestone: | 1.0 |
---|---|
Owner: | changed from bill to dante |
Status: | reopened → new |
i've been thinking about this for a while.
comment:5 Changed 13 years ago by
IBM JWL (JSF Widget Library) shipping with their JSF implementation has this sort of masked inputs (inputHelperAssist). Wouldn't it be nice if the piece of code could be contributed to Dojo? To the IBM contributors in the Dojo team: Do you see this possibility?
comment:6 Changed 13 years ago by
Milestone: | → 1.3 |
---|
comment:7 Changed 12 years ago by
Description: | modified (diff) |
---|---|
Milestone: | 1.3 → future |
I'd really like to see this, but not in the cards right now ... it seems we could devise a generic masking system to match against the regexps provided in dojox.validate (or custom ones)
comment:8 Changed 8 years ago by
Component: | Dijit → Dijit - Form |
---|---|
Resolution: | → patchwelcome |
Status: | new → closed |
I think the ValidationWidgets? in Dijit 0.9 already let you do this.