You need to sign in to do that
Don't have an account?
Dritter
VF Page and Required Field Highlight
I have a block with a VF page, and I want the red vertical bar to appear next to a field highlighting it is required. I've found a few suggestions online, but they don't seem to work. Any ideas?
<apex:pageBlockSection title="Account Information" columns="2"> <div class="reuqiredInput"> <div class="requiredBlock"></div> <apex:inputText value="{!firstName}" label="First Name" required="true" /> </div> <apex:inputField value="{!accountObject.PersonTitle}"/> <apex:inputText value="{!lastName}" label="Last Name *"/> <apex:inputField value="{!accountObject.Lead_Source__c}" label="Lead Source *"/> <apex:inputField value="{!accountObject.Hot_Flag__c}" label="Hot Lead"/> </apex:pageBlockSection>
As a common practice, if your question is answered, please choose 1 best answer.
But you can give every answer a thumb up if that answer is helpful to you.
Thanks
All Answers
<div class="reuqiredInput">
Should be requiredInput
Can you post the whole page if you are still having issues.
As a common practice, if your question is answered, please choose 1 best answer.
But you can give every answer a thumb up if that answer is helpful to you.
Thanks
Thanks William,
Yeah, I noticed that typo shortly after I posted. I fixed it, but it still doesn't show up with the red vertical bar. Here's the whole page.
As a common practice, if your question is answered, please choose 1 best answer.
But you can give every answer a thumb up if that answer is helpful to you.
Thanks