andyt
08-12-2003, 11:55 AM
Someone might have a script for this already? But I can't find one.
I need to restrict user input into a textarea to a max of 10 lines, with a max of 48 characters to a line.
Can't restrict to an overal character count as the user can use less than 48 chars to a line, therfore more than 10 lines before hitting 480 chars.
Obviously I'd like the text to wrap to the next line when the user has reached 48 characters, any way of doing this without using a fixed width font?
Any ideas / scripts out there? Any help much appreciated...
I need to restrict user input into a textarea to a max of 10 lines, with a max of 48 characters to a line.
Can't restrict to an overal character count as the user can use less than 48 chars to a line, therfore more than 10 lines before hitting 480 chars.
Obviously I'd like the text to wrap to the next line when the user has reached 48 characters, any way of doing this without using a fixed width font?
Any ideas / scripts out there? Any help much appreciated...