function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
vijendharvijendhar 

how to display top 5 lines from long text area field

i have one long text area custom field text__c,

it have N-lines, in that i need to display top 5 lines

example :
text__C: 
comment line  1
comment  line  2
comment  lline 3
..
comment  line 10,

now i need to display only top 5 lines in email template of salesforce, how can i achive these funcaionallity . very urgent requrement..help me

Thanks Advance

    

 
Arun KumarArun Kumar
Hi vijendhar,

You can go to that field and then enter the desired number in the field "# Visible Lines". Please refer the below screen shot.Refer this Account field example

Please let me know if the helps.

As a common practice, if your question is answered, please choose 1 best answer.
Additionaly you can give every answer a thumb up if that answer is helpful to you.

Thanks,
Arun