Re: stop cursor typing past 500 characters

2009-09-11 Thread Roger Austin
Damo Drumm wrote: > > Hi Marcus > I notice now its actually a makes a difference > > heres my line of code: > Email Text : > > > only problem is maxlength doesnt seem to be doing anything, am i putting it > in the right place? I'm not aware that maxlength can be used as an attribute

Re: stop cursor typing past 500 characters

2009-09-11 Thread Claude Schneegans
>> ive put in in the following place but its not doing anything To my knowledge, the TEXTAREA tag takes no MAXLENGTH attribute, on INPUT tag has one. ~| Want to reach the ColdFusion community with something they want? Let them

Re: stop cursor typing past 500 characters

2009-09-11 Thread Dave Watts
> I notice now its actually a makes a difference > > heres my line of code: > Email Text : > > > only problem is maxlength doesnt seem to be doing anything, am i putting it > in the right place? The TEXTAREA tag doesn't accept a MAXLENGTH attribute. If you use CFFORM, you could use CFTEXTAREA,

Re: stop cursor typing past 500 characters

2009-09-11 Thread Damo Drumm
Hi Marcus I notice now its actually a Email Text : only problem is maxlength doesnt seem to be doing anything, am i putting it in the right place? ~| Want to reach the ColdFusion community with something they want? Let them k

Re: stop cursor typing past 500 characters

2009-09-11 Thread Dave Watts
> If I change it to text on the SQL server, it only allows me to type 16 > characters That's incorrect. It'll let you type many more characters than that! The size of the field is 16 bytes, because it's a pointer to a stored value outside the field. The sizes for text, ntext and image are listed

RE: stop cursor typing past 500 characters

2009-09-11 Thread Marius Milosav
AM To: cf-talk Subject: Re: stop cursor typing past 500 characters Hi Philip If I change it to text on the SQL server, it only allows me to type 16 characters >Just curious. If you have a text box, have you considered changing the >field type t

Re: stop cursor typing past 500 characters

2009-09-11 Thread Damo Drumm
Hi Philip If I change it to text on the SQL server, it only allows me to type 16 characters >Just curious. If you have a text box, have you considered changing the >field type to text? > > >> ~| Want to reach the ColdFusion c

Re: stop cursor typing past 500 characters

2009-09-11 Thread Damo Drumm
Hi Philip If I change it to text on the SQL server, it only allows me to type 16 characters >Just curious. If you have a text box, have you considered changing the >field type to text? > > >> ~| Want to reach the ColdFusion c

Re: stop cursor typing past 500 characters

2009-09-11 Thread Phillip Vector
Just curious. If you have a text box, have you considered changing the field type to text? On Fri, Sep 11, 2009 at 6:34 AM, Stephane Vantroyen wrote: > > Hi, > > to do you can use javascript, like here : > > http://javascript.internet.com/forms/limit-textarea.html > > Regards, > > Stephane > >>

Re: stop cursor typing past 500 characters

2009-09-11 Thread Damo Drumm
Hi Agha Thanks for that, ive put in in the following place but its not doing anything, Im I putting it in the correct place? Email Text : Thanks ~| Want to reach the ColdFusion community with something they want? Let them

Re: stop cursor typing past 500 characters

2009-09-11 Thread Stephane Vantroyen
Hi, to do you can use javascript, like here : http://javascript.internet.com/forms/limit-textarea.html Regards, Stephane > Hi > I’ve a text box on my form, and in the database it is set to allow 500 > characters to be entered, however i can write any amount of characters > above 500, I do

Re: stop cursor typing past 500 characters

2009-09-11 Thread Agha Mehdi
Use maxlength=500 for the input field Agha On Sep 11, 2009, at 6:28 AM, Damo Drumm wrote: > > Hi > I’ve a text box on my form, and in the database it is set to allow 5 > 00 characters to be entered, however i can write any amount of chara > cters above 500, I do get an error sayng: Error