Re: Formatting input text?
| From: | Edward van Bilderbeek - Bean IT | Date: | Sat, 16 Mar 2002 18:33:15 +0000 |
| Subject: | Re: Formatting input text? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-88761@lists.php.net to get a copy of this message | ||
Just use javascript... (be careful, what works with IE, doesn't
automatically work with Netscape)...
Greets,
Edward
----- Original Message -----
From: "Andre Dubuc" <aajdubuc@webhart.net>
To: <php-general@lists.php.net>
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
>