[jQuery] Re: Masked Input Field

2007-05-28 Thread Jörn Zaefferer
Chris W. Parker wrote: On Friday, May 25, 2007 9:50 AM Jörn Zaefferer said: Masked-input gives you visual hints of the expected input and its very easy to learn that you don't have to enter any delimiters. See Steve Krug's book called Don't Make Me Think. The less learning a user

[jQuery] Re: Masked Input Field

2007-05-25 Thread Chris W. Parker
On Thursday, May 24, 2007 11:36 AM Jörn Zaefferer said: Although, security issues aside, I guess it could help to prevent mistakes from your users. Would it make things easier for the user or frustrating? Clientside validation is all about usability. A few points: * Personally, I find

[jQuery] Re: Masked Input Field

2007-05-25 Thread Alexandre Plennevaux
Couldn't agree more. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chris W. Parker Sent: vendredi 25 mai 2007 16:57 To: jquery-en@googlegroups.com Subject: [jQuery] Re: Masked Input Field On Thursday, May 24, 2007 11:36 AM Jörn Zaefferer

[jQuery] Re: Masked Input Field

2007-05-25 Thread Jörn Zaefferer
Chris W. Parker wrote: Clientside validation is all about usability. A few points: * Personally, I find it frustrating when applications (on the web) automatically move my cursor from one box to another. Like when typing in a date and there are three boxes for month, day, and year. I

[jQuery] Re: Masked Input Field

2007-05-25 Thread Glen Lipka
On 5/25/07, Alexandre Plennevaux [EMAIL PROTECTED] wrote: Couldn't agree more. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chris W. Parker Sent: vendredi 25 mai 2007 16:57 To: jquery-en@googlegroups.com Subject: [jQuery] Re: Masked Input

[jQuery] Re: Masked Input Field

2007-05-25 Thread Chris W. Parker
On Friday, May 25, 2007 9:50 AM Jörn Zaefferer said: Masked-input gives you visual hints of the expected input and its very easy to learn that you don't have to enter any delimiters. See Steve Krug's book called Don't Make Me Think. The less learning a user does, the better. * Even though

[jQuery] Re: Masked Input Field

2007-05-25 Thread Dan G. Switzer, II
Of course we should! And let's dry up all the water because people drown too. No but seriously, part way through my post I conceded that if it's used for usability purposes, client-side validation is not a problem. But if someone thinks that it's a security measure, they are mistaken. Until I

[jQuery] Re: Masked Input Field

2007-05-23 Thread Jörn Zaefferer
Glen Lipka wrote: Im asking alot of questions today, sorry. Trying to use this. http://digitalbush.com/projects/masked-input-plugin It is an awesome plugin by the way! I have one field called creditcard (guess what goes in there) And another select called credtcardType (amex, visa, mc,

[jQuery] Re: Masked Input Field

2007-05-23 Thread Dan G. Switzer, II
Glen, I want to put in the spaces like this . But for Amex I want 99 9. Ultimately, I want to submit to the server without spaces. (Maybe a hidden form field) You should just use a RegEx on the server side to strip out non-numeric characters, instead of trying to

[jQuery] Re: Masked Input Field

2007-05-23 Thread Brandon Aaron
Yeah I agree with Jörn. It looks like an $().unmaskedinput() would be nice for this case. I just tried to call $().maskedinput() to overwrite the current mask but it doesn't do that very well. You could just replace the input onChange of ccType. Some psuedo code illustrate. onChange: if

[jQuery] Re: Masked Input Field

2007-05-23 Thread Chris W. Parker
On Wednesday, May 23, 2007 3:00 PM Glen Lipka said: Trying to use this. http://digitalbush.com/projects/masked-input-plugin It is an awesome plugin by the way! Yeah that is pretty sweet. Except that... It's a waste. You *still* absolutely have to do proper server-side validation.

[jQuery] Re: Masked Input Field

2007-05-23 Thread Glen Lipka
On 5/23/07, Chris W. Parker [EMAIL PROTECTED] wrote: On Wednesday, May 23, 2007 3:00 PM Glen Lipka said: Trying to use this. http://digitalbush.com/projects/masked-input-plugin It is an awesome plugin by the way! Yeah that is pretty sweet. Except that... It's a waste. You *still*

[jQuery] Re: Masked Input Field

2007-05-23 Thread Glen Lipka
And of course, the second I say I am done...I am not. If you don't put in the right number of characters...like if you only put half the field in and blur, it erases the content completely. I think this is bad UX. (Sorry) Sometimes someone might know their zip (first 5 digits) then click to go