Hi there
If I have a form with a textarea. and I set the width (cols=50), how do I control it, so the lines automatically gets broken every 50 characters with a <br>, if the users don't put in those <br> by themselves.
thanks in advance qrt123
Kinda confused, but you may want to use WRAP=VIRTUAL in your text area tag.
You may actually want to do this by count of words instead of charcters. Otherwise, you'll end up breaking words.
If you're talking about displaying the text back once you have the data, there is a wordwrap function.