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
lightlight 

Required FIELD visual indicator - RED VERTICAL LINE

 

---

has anyone played with dummying an IMAGE to add a RED VERTICAL line

when you make the field required thru dependency in valiation rules?

---

i searched and could not find anything.

so as i am new, so wondering possible, or don't go there.

thankyou

 

Chamil MadusankaChamil Madusanka

Try this code

 

<apex:pageBlock>
   <apex:pageBlockSection>
       <apex:pageBlockSectionItem >
           <apex:outputLabel value="Approver Type" for="approverType"></apex:outputLabel>
           <apex:outputPanel >
           
           <div class="requiredInput">
                 <div class="requiredBlock"></div>
                 
              <!--YOUR INPUT FIELD HERE <apex:inputField id="approverType" value="{!CompanyApproval.Approver_Type__c}"/>-->
               </div>
               </apex:outputPanel>
           </apex:pageBlockSectionItem>
    </apex:pageBlockSection>
</apex:pageBlock>

 If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.