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
knightknight 

scrollbar for text fields

Hi folks

 

Is there a way where I can add a scroll bar to a text field in SFDC ? If not .. I believe I can do this using VF ? Can someone please share the syntax for this ?

 

 

Pradeep_NavatarPradeep_Navatar

You can not add scroll bar to text field, however you can use text area that has scroll bar functionality default. For that create a field (type=textArea) and define no. of lines are visible and if your text extend these defined no. of lines, scroll bar will automatically visible.

 

The other workaround is to use use inline style="overflow:scroll;height:250px;" in textfield.

 

Hope this helps.