Set Multiline Text Input Height

How do we set the number of rows displayed by default on Multiline Text boxes? I've seen the solution given by MNikitina on the below thread:

This works great, but only once text has been entered. I would like the text box to present to a user with, say, 15 rows of available space to encourage them to enter a long reply.

Thanks

Dear @tmoreno,
This should be even easier, please, try the following:

fd.spRendered(function() {
  fd.field('MultipleLines').$refs.textarea.style.height = '400px';
});

Awesome, this worked perfectly - Thanks!!

1 Like