![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
Adding: onChange="javascript:this.value=this.value.toUpper Case();" to the field did the trick. A "Zwi2000" <zwi2000 (AT) hotmail (DOT) com> wrote in message news:cd6lgj$3fj$1 (AT) forums (DOT) macromedia.com... Didnt work either, same issue, just changes the first letter of the word, the result is "Manuel" instead of "MANUEL" Z "darrel" <notreal (AT) hotmail (DOT) com> wrote in message news:cd6k8h$1vs$1 (AT) forums (DOT) macromedia.com... When you are filling out a form, example: First Name: ___________________ The user enters the name, I need to "On Blur" update whatever was entered in lower caps to caps, so that instead of : manuel, the form field displays "MANUEL". So database has nothing to do, its just reformating the information in that field. The next question I'll ask you is why are you doing this? Do do what you want, you'd do this on the client-side with javascript. However, it's usually better to do this on the server side for a variety of reasons. For javascript, this looks close to what you want: http://javascript.internet.com/forms/sentence-caps.html You'll want to edit it so that it caps everything. I believe the key is this: yourString.toUpperCase(); Again, though, you may want to consider a server-side solution. -Darrel |
![]() |
| Thread Tools | |
| Display Modes | |
| |