You need to sign in to do that
Don't have an account?
BobP
Visualforce field label on top like lightning page
I am creating a visualforce page and the field label is to the left of the field like classic but I have the lightning stylesheet set to true?
What am I missing to get the field name on the top of the field like on a standard account page in LEX?
Visualforce Code:
What am I missing to get the field name on the top of the field like on a standard account page in LEX?
Visualforce Code:
<apex:page standardController="Account" lightningStylesheets="true" > <apex:form> <apex:pageBlock title="Snow Site Account Info"> <apex:pageBlockSection> <apex:outputLabel value="Contract Status"> <apex:inputField value="{!Account.Contract_Status__c}"/> </apex:outputLabel> <apex:outputLabel value="Contract Status"> <apex:inputField value="{!Account.Contract_Status__c}"/> </apex:outputLabel> </apex:pageBlockSection> </apex:form> </apex:page>
Thanks,
Maharajan.C