At 11:39 AM 5/8/2009, you wrote:
David brings up a good point.
If you truly want to restrict then the previous methods will work, but if what you are really wanting is to transform the input after submission then you should leave it open and transform on the back end or the actual output.

RL
----- Original Message -----
From: "David Ennis" <[email protected]>
To: [email protected]
Sent: Friday, May 8, 2009 9:23:10 AM GMT -05:00 US/Canada Eastern
Subject: Re: [AFFUG Discuss] Forcing TextInput to be all-caps...

Not sure of the whole situation, but I'd suggest not restricting the
user to uppercase. Instead let them type whatever case they want and
transform the data when you save it. Don't make the user think. ;^)

It seems to work the way I wanted it to. Even if the user is typing in lower-case, it shows the data in upper-case. That was the behavior I wanted... Doesn't force them to use caps-lock or shift... And it won't accept numbers or special characters -- that's also what I wanted.

But I do get your point -- were it to force the user to hit caps-lock or shift before entering data, that would be a bad thing.


Laurence MacNeill
Mableton, Georgia, USA


END IRS TYRANNY NOW:
http://www.fairtax.org/

SHUT DOWN THE FEDERAL RESERVE SYSTEM:
http://www.freedomtofascism.com/





-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------


Reply via email to