Customer Portal

Get Involved. Join the Conversation.

Topic

    Bruno Aun
    FormInput TextArea - how to set amount of rows?
    Topic posted October 15, 2019 by Bruno AunBlue Ribbon: 750+ Points 
    13 Views, 1 Comment
    Title:
    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

    Image:
    Code Snippet:

    Comment

     

    • Sebastiaan Draaisma

      An alternative if you want to have this dynamically is to place the custom field in a div with visibility set to none and use a html element that you control with javascript. This html element will be placed visible and then you use javascript to assign it's value to the custom field behind the scene.