Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFINPUT uppercase question

Status
Not open for further replies.

bmacman

IS-IT--Management
Feb 19, 2001
51
US
Is it possible for CF to automatically read in the values of a text box in a CFINPUT statement as UPPERCASE no matter how they type it in?
 
I don't use <cfinputs> much but I don't think that's possible. You'll probably need to write a Javscript routine to convert typed characters to uppercase.

GJ
 
If this is ultimately due to a dbase &quot;problem&quot; you may be happy to know that Access (and other dbases) support &quot;scalar&quot; functions.

One of these is UCASE() and will allow you to treat any mixed case &quot;input&quot; as ALL CAPS

 
Maybe this is too simple, but couldn't you just do some preproccessing with

<cfset myTxtInput = UCase(myTxtInput)>

MCMoyer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top