Automatic line breaks in a TextArea?
I need automatic line breaks for a TextArea.
Is something like this possible with HTML or JavaScript or JQuery?
Can someone please help me?
<div class="col-xs-12"> <div class="form-group"> <textarea class="form-control" style="width: 685px; height: 40px;" id="expanding-textarea_1" name="Aktueller_Aufenthaltsort" required>{if $pdf}{$values.Aktueller_Aufenthaltsort|nl2br}{/if}</textarea> </div> </div>
Words count
https://www.geeksforgeeks.org/how-to-make-a-word-count-in-textarea-using-javascript/
Then when words larger than 10 add a “\n” to textarea.
It won’t help me!
What’s wrong with you?
There’s code as it is done!
Reading helps – code doesn’t fall into the lap!
is there a jqeury or javascript code?