View Single Post
  #4  
Old 01-19-2004, 05:04 PM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

Ok that was not what I was looking for.

I found this snippet on the web

Code:
Add this to your input box: onKeyUp="this.value=this.value.toUpperCase();

But I don't know where to use it in register.tpl.

I also found this and was wondering if anyone could help me twist this example to work somehow.

Code:
<SCRIPT LANGUAGE="JavaScript"><!-- function convert() { document.myForm.myText1.value = document.myForm.myText1.value.toUpperCase(); document.myForm.myText2.value = document.myForm.myText2.value.toUpperCase(); } //--></SCRIPT> <FORM NAME="myForm" onSubmit="convert()"> <INPUT TYPE="TEXT" NAME="myText1"> <INPUT TYPE="TEXT" NAME="myText2"> <INPUT TYPE="SUBMIT"> </FORM>

The thing is, I am an idiot when it comes to Javascript. I don't even know where to start or basic rules of syntax.

Puleeze help the Boss free his time.
Reply With Quote