[jQuery] Re: Masked Input Plugin Beta 2

2007-06-13 Thread David Duymelinck
Josh Bush schreef: I can look into adding those features after I get a stable release out here. I'm not sure that there is a huge benefit if the user is typing the mask characters in order to pad their input. You're trading a leading '0' for a '/' in the date example. -josh It's great you

[jQuery] Re: Masked Input Plugin Beta 2

2007-06-13 Thread Josh Bush
I can look into adding those features after I get a stable release out here. I'm not sure that there is a huge benefit if the user is typing the mask characters in order to pad their input. You're trading a leading '0' for a '/' in the date example. -josh On Jun 13, 7:47 am, David Duymelinck <

[jQuery] Re: Masked Input Plugin Beta 2

2007-06-13 Thread David Duymelinck
Yes that's the idea. I was getting overanalytical i guess :) Josh Bush schreef: So, for the date example, you would like for the user to be able to type "1/1/2006" with the slashes and it would fill 01/01/2006? I want to make sure I'm understanding correctly. Thanks Josh On Jun 13, 6:57 am,

[jQuery] Re: Masked Input Plugin Beta 2

2007-06-13 Thread Josh Bush
So, for the date example, you would like for the user to be able to type "1/1/2006" with the slashes and it would fill 01/01/2006? I want to make sure I'm understanding correctly. Thanks Josh On Jun 13, 6:57 am, David Duymelinck <[EMAIL PROTECTED]> wrote: > 1 is only an example it can be 1-9 or

[jQuery] Re: Masked Input Plugin Beta 2

2007-06-13 Thread David Duymelinck
1 is only an example it can be 1-9 or a-z. The idea is by typing the next non validating character of the mask the validation should jump to the next validation character and fill the left of the previous validation part with a default character if necessary. It should only jump if at least o

[jQuery] Re: Masked Input Plugin Beta 2

2007-06-13 Thread Josh Bush
If the users types '1' how would you know if the user means "01", "11" or "12"? However, 2-9 could always be interpreted as 0+digit. You could always hook into the keypress event and detect a leading digit that isn't a 1 with the following regex: /^[2-9]/ then just set the input to be 0+digit.

[jQuery] Re: Masked Input Plugin Beta 2

2007-06-13 Thread David Duymelinck
Josh Bush schreef: I'm proud to announce the second beta of my Masked Input Plugin for jQuery. This release fixes a few bugs from Beta 1 and adds a few features. The following is a list of changes for this release. * BREAKING CHANGE: If you were using the optional placeholder argument, you wil

[jQuery] Re: Masked Input Plugin Beta 2

2007-06-12 Thread Josh Bush
I'd like to get this feature set stable and to a 1.0 release. Once I'm there I'll venture into the optional masks. I haven't exactly settled everything in my head on how to implement that just yet. Josh On Jun 12, 8:04 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote: > Awesome. > We just launched t

[jQuery] Re: Masked Input Plugin Beta 2

2007-06-12 Thread Glen Lipka
Awesome. We just launched the e-commerce side of things and used the plugin in a few places. http://app.marketo.com/signup/signup/code/standard Notice phone and zip. One thing I would love to see is an option to -not- delete the contents if they miss the last digit on blur. For instance, I'd like