RE: Can we limit the text in textarea

2001-06-04 Thread Peter Tilbrook
Try this: My Page function textCounter(field, countfield, maxlimit) { if (field.value.length > maxlimit) field.value = field.value.substring(0, maxlimit); else countfield.value = maxlimit - field.value.length; } function openWin( windowURL, windowName, windowFeatures ) { return window.open( wi

Re: Can we limit the text in textarea

2001-06-04 Thread James Taavon
Yes, Javascript. This is what I used. bajaria aslam wrote: >

Re: Can we limit the text in textarea

2001-06-04 Thread W Luke
Try something like this. This (should) restrict the textarea to 800 characters, and display how many characters are remaining, in a seperate textbox: