Just use javascript... (be careful, what works with IE, doesn't
automatically work with Netscape)...

Greets,

Edward

----- Original Message -----
From: "Andre Dubuc" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 16, 2002 4:44 PM
Subject: [PHP] Formatting input text?


> 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.
> Tia,
> Andre
>
>
> --
> Please pray the Holy Rosary to end the holocaust of abortion.
> Remember in your prayers the suffering souls in Purgatory.
>
> May God bless you abundantly in His love!
>
> For a free Cenacle Scriptural Rosary Booklet --
http://www.webhart.net/csrb/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>



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

Reply via email to