Re: Limiting text inputs by character count?
| From: | Andre Dubuc | Date: | Mon, 24 Jun 2002 02:21:13 +0000 |
| Subject: | Re: Limiting text inputs by character count? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-103514@lists.php.net to get a copy of this message | ||
Thanks Peter,
That'll fix it.
Regards,
Andre
On Sunday 23 June 2002 10:04 pm, you wrote:
> for standard text input use
>
> <input name="textfield" type="text" size="10"
> maxlength="10"> that will
> only allow 10 characters
>
> not sure if that will also work for text area's
>
> -----Original Message-----
> From: Andre Dubuc [mailto:aajdubuc@webhart.net]
> Sent: Monday, 24 June 2002 11:53 AM
> To: php-general@lists.php.net
> Subject: [PHP] Limiting text inputs by character count?
>
>
> Is there a way to limit the number of characters that may be inputed into:
> a) a <input type=text . . . > input
> b) a <textarea . . . > input
>
> I would like to control the maximum number of characters for each of these
> inputs.
>
> Any suggestions of where to look, or how to do it, if it's possible, would
> be greatly appreciated.
>
> Tia,
> Andre
--
Please pray the Holy Rosary to end the holocaust of abortion.
Remember in your prayers the Holy Souls in Purgatory.
May God bless you abundantly in His love!
For a free Cenacle Scriptural Rosary Booklet: http://www.webhart.net/csrb/