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
CRM08CRM08 

How to display "Required information" on the Page Block section

Hi all,

 

How to display "Required information" along with red bar (like SFDC page)on the Page Block section of visualforce page?  

 

Thanks.

Best Answer chosen by Admin (Salesforce Developers) 
jwetzlerjwetzler
For anyone wondering, you can set mode="edit" on your pageBlock.

All Answers

VisualForceVisualForce

Hi..

 

   use 'required=true' attribute along with inputfield tag..

 

If u use inputtext read this thread

 

http://community.salesforce.com/sforce/board/message?board.id=Visualforce&thread.id=5853 

CRM08CRM08

Hi,

 

Thanks for reply but I need to display "Required information" on the Page Block section(first section) along with red bar and equal sign.As you could see this on every page of Right Corner in Salesforce page(e.g,account,contact)...

 

Thanks.

CRM08CRM08
I got resolved..
jwetzlerjwetzler
For anyone wondering, you can set mode="edit" on your pageBlock.
This was selected as the best answer