Well, I was going to say you could add a stylesheet text-transform:
uppercase; to the input tag but in testing it with a simple page you need
more... here's an example of using the Stylesheet with a Javascript
transform onSubmit:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
        <title>Untitled</title>
<script>
   function AllCap() {
      test.SSExample.value = test.SSExample.value.toUpperCase();
      return true;
   }
</script>
</head>

<body>

<form name="test" action="test.cfm" method="post" onSubmit="return
AllCap();">
   Here's an example:
   <input type="Text" name="SSExample" size="30" style="text-transform:
uppercase;">
   <input type="submit">
</form>
<cfif isDefined("form.SSExample")>
   <cfoutput>#form.ssExample#</cfoutput>
</cfif>
</body>
</html>

Enjoy!

C. Hatton Humphrey, Developer
Fisher, Towne & Associates
716-839-2141 x336
[EMAIL PROTECTED]


> -----Original Message-----
> From: Raley, Scott [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 31, 2001 7:26 AM
> To: CF-Community
> Subject: Upper Case
>
>
> In pure HTML and javascript is there a way to control upper case
> in <input>
> 
______________________________________________________________________
Macromedia ColdFusion 5 Training from the Source
  Step by Step ColdFusion
  http://www.amazon.com/exec/obidos/ASIN/0201758474/houseoffusion

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to