Re: SOT: Limit content in Textarea?

2007-12-12 Thread Ian Skinner
"Does anyone have any suggestions or thoughts?" Yup, always do the validation on the server as well. JavaScript and other client side validation is for the user interface -- to make it nice for the person entering the data. Server side validation is for the application -- to protect the data.

Re: SOT: Limit content in Textarea?

2007-12-12 Thread Bryan Stevenson
Server side validation.check the length before inserting dataif it's too long...tell the user Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: ww

Re: SOT: Limit content in Textarea?

2007-12-12 Thread Jordan Michaels
Just add a CFML check to the processing page: You entered more then 300 characters into the text area. Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ BlueDragon Alliance Member [EMAIL PROTECTED] Steve LaBadie wrote: > I am using JavaScript to limit the amount

SOT: Limit content in Textarea?

2007-12-12 Thread Steve LaBadie
I am using JavaScript to limit the amount of text on can submit in the textarea. Realizing disabling JavaScript may allow people to enter more than 300 characters in the textarea field. Does anyone have any suggestions or thoughts? JavaScript: function textCounter(field, countfield, maxlim