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
JAW99JAW99 

Set display size for text area in VF page

Please help fix my code for

 

<apex:inputfield value="{!Task.Description}" size="50" />

how do i control the size of the comments box input field or any text area in a visual force page

 

i have searched and searched...

Message Edited by JAW99 on 10-23-2009 08:50 AM
Best Answer chosen by Admin (Salesforce Developers) 
Edwin VijayEdwin Vijay

Hi,

 

Can you try using an inputtextarea and setting the attributes "rows"  and "cols"..... instead of using an inputfield..

 

Cheers!!

Edwin

All Answers

Edwin VijayEdwin Vijay

Hi,

 

Can you try using an inputtextarea and setting the attributes "rows"  and "cols"..... instead of using an inputfield..

 

Cheers!!

Edwin

This was selected as the best answer
JAW99JAW99
yes thanks!