FormInput TextArea - how to set amount of rows?
Summary
FormInput TextArea - how to set amount of rows?Content
Hi everyone
I have an Incident custom field which renders as a textarea with a default of 7 rows.
There is no spot for setting this attribute on the custom field settings.
Is there a way to set this attribute programatically?
thanks in advance
Code Snippet
<rn:widget path="input/FormInput" name="Incident.CustomFields.c.bestcontactdaytime" required="true" label_input="#rn:msg:CUSTOM_MSG_BEST_DAY_CONT#"/> <textarea id="rn_TextInput_32_Incident.CustomFields.c.bestcontactdaytime" class="rn_TextArea" rows="7" cols="60" name="Incident.CustomFields.c.bestcontactdaytime" maxlength="4000" required=""></textarea>
Tagged:
1