Home All Groups Group Topic Archive Search About


Author
17 Mar 2005 5:17 AM
Athmaus
i know in html you can set a "max" character limit for a form field. I was
wondering if it is possible to set a min number of characters?

Author
17 Mar 2005 8:42 AM
Evertjan.
=?Utf-8?B?QXRobWF1cw==?= wrote on 17 mrt 2005 in
microsoft.public.inetserver.asp.general:

> i know in html you can set a "max" character limit for a form field. I
> was wondering if it is possible to set a min number of characters?
>

Not with serverside ASP.
ASP does not know about form fields, or any HTML.

Please ask in an  apporpriate NG.

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)
Author
17 Mar 2005 8:41 PM
Tim
Evertjan. wrote:
>>i know in html you can set a "max" character limit for a form field. I
>>was wondering if it is possible to set a min number of characters?
> Not with serverside ASP.

> Please ask in an  apporpriate NG.

....and that would ba a Javascript NG but it is likley much more
complicated than the solution you are looking for.
Author
17 Mar 2005 9:03 PM
Jeff Cochran
On Thu, 17 Mar 2005 20:41:38 GMT, Tim <a*@gahnstrom.se> wrote:

>Evertjan. wrote:
>>>i know in html you can set a "max" character limit for a form field. I
>>>was wondering if it is possible to set a min number of characters?
>> Not with serverside ASP.
>
>> Please ask in an  apporpriate NG.
>
>...and that would ba a Javascript NG but it is likley much more
>complicated than the solution you are looking for.

If it has to be ASP server-side, you'd check this in your validation
routines.  If Len(InputString) < 2 Then...

Jeff
Author
18 Mar 2005 9:38 AM
Evertjan.
Tim wrote on 17 mrt 2005 in microsoft.public.inetserver.asp.general:
> Evertjan. wrote:
>>>i know in html you can set a "max" character limit for a form field. I
>>>was wondering if it is possible to set a min number of characters?
>> Not with serverside ASP.
>
>> Please ask in an  apporpriate NG.
>
> ...and that would ba a Javascript NG but it is likley much more
> complicated than the solution you are looking for.
>

I am not loking for anything.

Please do not use "you" loosely, Tim, when posting.

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

AddThis Social Bookmark Button