RE: Limiting text entered into TextArea

2001-08-20 Thread Thomas Chiverton
> Does anyone know how I would limit the amount of text a user can enter > into a textarea? It's limited to rows * cols chars innit ? ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cf

Re: Limiting text entered into TextArea

2001-08-20 Thread sanathr
i guess it is compare with fieldname.length. --- The information transmitted is intended o

Re: Limiting text entered into TextArea

2001-08-20 Thread James Taavon
This is what I use. Nick Betts wrote: > > Morning CF Worl

Re: Limiting text entered into TextArea

2001-08-20 Thread Jochem van Dieten
[EMAIL PROTECTED] wrote: > i guess it is compare with fieldname.length. Almost, it is compared with formname.value.length like in the example below. Doesn't work flawlessly (one can paste stuff into the field without pressing a key), but it is a start. function checkLength(formfiel

Re: Limiting text entered into TextArea

2001-08-20 Thread Jochem van Dieten
Jochem van Dieten wrote: > [EMAIL PROTECTED] wrote: > >>i guess it is compare with fieldname.length. >> > Almost, it is compared with formname.value.length Correction, should be: fieldname.value.length Jochem ~~ Structure your ColdFusion code wi

RE: Limiting text entered into TextArea

2001-08-20 Thread Mark Smyth
27; counter else countfield.value = maxlimit - field.value.length; } // End --> There are: characters still available in the notes field -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED]] Sent: 20 August 2001 10:53 To: CF-Talk Subject: Re: Limiting text entered int

RE: Limiting text entered into TextArea

2001-08-20 Thread Peter Tilbrook
I have some code for this! Email me directly at [EMAIL PROTECTED] or (do what I did) check out www.javascript-source.com Peter Tilbrook ColdFusion Applications Developer Australia New Zealand Food Authority Boeing House 55 Blackall Street BARTON ACT 2600 Ph: +61-2-6271 2256 Fax: +61-2-6271 22

RE: Limiting text entered into TextArea

2001-08-20 Thread Billy Cravens
--- Billy Cravens Web Development, EDS [EMAIL PROTECTED] -Original Message- From: Peter Tilbrook [mailto:[EMAIL PROTECTED]] Sent: Monday, August 20, 2001 6:51 AM To: CF-Talk Subject: RE: Limiting text entered into TextArea I have some code for this! Email me directly at [EMAIL

RE: Limiting text entered into TextArea

2001-08-20 Thread Nick Betts
Thanks everyone for your help on this one! -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED]] Sent: 20 August 2001 10:53 To: CF-Talk Subject: Re: Limiting text entered into TextArea [EMAIL PROTECTED] wrote: > i guess it is compare with fieldname.length. Almost,