You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

FormInput TextArea - how to set amount of rows?

Accepted answer
16
Views
2
Comments
edited Oct 15, 2019 4:32PM in Customer Portal 2 comments

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>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!