Textarea in our forms? Who has never used it? No one !
And the famous question that arrives thereafter “Yes, but when you enter a very long text, we would like the area to expand … it would be much more beautiful!”
that allows you to have self-expanding textarea.
This library can be downloaded here: https://github.com/jackmoore/autosize
The easiest way is to download the autosize.js file and drop it on the K2 server, in the K2 smartforms Runtime \ Script directory, create a Common directory and drop the library into it.
That’s it, your textarea are now spreading by themselves!
It’s your turn 😉