Perhaps it is a case where mixed case is often needed, but upper case is 
required in one or more fields. Granted, in this case, it is possible to upper 
case the user's lower case input in the host code. But it may be more 
"aesthetically pleasing" to have the input upper cased as the user is entering 
it, without forcing the user to press the CAPS LOCK key. I actually do this 
sort of thing in one Web application, using Javascript in the browser. The user 
can type in lower case, but the characters are echoed to the form in UPPER 
case. This reinforces that the input will be processed in UPPER CASE only. 
Also, I do character level validation. For example, if I want a digit, pressing 
a non-digit key results in nothing appearing in the field. Instant feedback 
(any maybe frustration to the user who really, really wants to add "A" to the 
cost). This is not possible with a 3270 data stream. 

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * 
[email protected] * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[email protected]] On Behalf Of Steve Comstock
> Sent: Thursday, December 15, 2011 8:35 AM
> To: [email protected]
> Subject: Re: Is there an SPF setting to turn CAPS ON like 
> keyboard key?
> 
<snip>
> 
> I got to wondering: why do you (the OP) want everything in caps?
> The right way to do it, I believe, is to accept input as the user
> gives it. If you want to capitalize (for consistency in compare
> operations, for example), copy it to a work area, translate the
> string copy to uppercase, then do the compare.
> 
> User friendly is programmer difficult. But it's the right way to go.
> 
> -- 
> 
> Kind regards,
> 
> -Steve Comstock
> The Trainer's Friend, Inc.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to