0

This is how I see the text long area field in Standard layout in salesforce. How can I limit the visibility of it to 3 lines and to provide the option to the user to expand it. Is there any way to achieve it in Salesforce.

enter image description here

Thank you.

2

You have to write custom visual force page to achieve this kind of functionality. Salesforce does not support to view excrete of data or visible only some selected lines.

You can create a custom field and populate the n (number of lines) lines from long text field by creating trigger.

Field Definition Configurations #Visible Lines: The number of lines option on the field is only taken into account in edit mode only and will display all available line in detail mode.

I hope this information will help!!

  • Visible lines option only support when you are going to edit the record, not when you are viewing the record on detail page. It displays whole content. – Ajay Gupta Aug 19 '15 at 14:14
  • You are correct - Another example of how common sense says it should be one way yet the implementation of it is the exact opposite. – Eric Aug 19 '15 at 14:22
-1

There is point and click option in Field Definition Configurations #Visible Lines:

enter image description here

  • Visible lines option only support when you are going to edit the record, not when you are viewing the record on detail page. – Ajay Gupta Aug 19 '15 at 13:59
  • @TheAjayGupta i didn't notice that. Will delete anw. – Ashwani Aug 19 '15 at 15:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.