HighDots Forums  

Maximum characters in form

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Maximum characters in form in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
webconstructor-Gary webforumsuser@macromedia.com
 
Posts: n/a

Default Maximum characters in form - 07-14-2003 , 01:00 PM






Does anyone know how to limit the number of characters a customer can enter into a text form?



Reply With Quote
  #2  
Old   
Dwayne Epps
 
Posts: n/a

Default Re: Maximum characters in form - 07-14-2003 , 01:15 PM






Yes, this is an example code snippet:
<input type="text" name="first_name" maxlength="30">
Just enter the number of characters you want to use in the maxlength. Hope
this helps.
-D-


"webconstructor-Gary" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Does anyone know how to limit the number of characters a customer can
enter into a text form?





Reply With Quote
  #3  
Old   
webconstructor-Gary webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Maximum characters in form - 07-15-2003 , 11:44 AM



Thanks Dwayne, This does work well for a single line box, unfortunately, I can not figure out what I am doing wrong to make it work in a multi-line box. My current code is as follows:

<textarea name="Book-Set-Description-Tenth-Item" cols="40" id="Book-Set-Description-Tenth-Item"></textarea></td>

Any ideas?






Reply With Quote
  #4  
Old   
lebisol webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Maximum characters in form - 07-15-2003 , 02:50 PM



<textarea name="Book-Set-Description-Tenth-Item" cols="40" rows="5" id="Book-Set-Description-Tenth-Item"></textarea>





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.