On Saturday 16 March 2002 23:44, Andre Dubuc wrote:
> I wonder whether this is possible?
> I would like to format a text input so that the first letter of the input
> (as the user is typing it in) would automatically be converted to Uppercase
> (capitals). Furthermore, if it is possible, I would like to pre-format the
> date "input type=text" so that only numbers or dashes could be entered. I
> really enjoyted this capablity in Paradox PAL language.
> Does anything exist that would allow me to do this in PHP?
> An example:
> Code
> <td><b>Surname</b></td>
> <td><input type=text name=rap></td>
> Screen (and into database)
> Surname: black   >> would be converted as they type to >> Surname: Black
> Any suggestions or advice would be greatly appreciated.

Wrong place! PHP is a server-side language. What you need requires 
client-side -- Javascript or Java.

Jason Wong -> Gremlins Associates -> www.gremlins.com.hk

People who go to conferences are the ones who shouldn't.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to