Forums

Define textarea height

jerome.mace 12 Nov, 2020
Hi,

How can I define the default height of a textarea ?
Sample: https://www.cynovaljoux.ch/test-user
Field😀emande

Thanks to help me,

Jérôme
Max_admin 12 Nov, 2020
Answer
you mean the number of rows ? there is a setting for that!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
jerome.mace 12 Nov, 2020
I try why rows=100 but it's not ok.
jerome.mace 12 Nov, 2020
I don't understand why ? it's OK in preview, but no in front side.
Max_admin 13 Nov, 2020
I guess some CSS in your template CSS file, you will need to override that, try this code in the CSS setting of your form:
form.ui textarea{height:auto !important;}

Or in the textarea, enable the HTML attributes behavior and add a new attribute:
name: style
value: height:auto !important;
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.