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
RollNo1RollNo1 

Required Mark for an Output Field

Behaviour of a required field is to fill the field before any action(save/cancel). But I need an output field to just have the required mark but not the behaviour.

That I should be able to have that red mark and be able to save and cancel without any input in that field.

Please Help me out.

Best Answer chosen by Admin (Salesforce Developers) 
bob_buzzardbob_buzzard

This blog post from my fellow MVP Jeff Douglas shows an example of marking an element with a red bar:

 

http://blog.jeffdouglas.com/2008/11/16/displaying-the-required-red-bar-for-a-control/

All Answers

bob_buzzardbob_buzzard

This blog post from my fellow MVP Jeff Douglas shows an example of marking an element with a red bar:

 

http://blog.jeffdouglas.com/2008/11/16/displaying-the-required-red-bar-for-a-control/

This was selected as the best answer
RollNo1RollNo1

It worked. Thank you :-)