You need to sign in to do that
Don't have an account?
Samuel JohnsonCBE
Tabs in visualforce
I have built a simple tab structure for the opportunity page. I am using a custom field, it is not showing the name of the field before the picklist value. Also I was wondering is there a way to have the save button act just like the standard save button that just shows that field not the box where I can add text of pick some thing.
<apex:page standardController="Opportunity" sidebar="false" showHeader="false">
<apex:tabPanel switchType="client" selectedTab="tabdetails"
id="OpportunityTabPanel" tabClass="activeTab"
inactiveTabClass="inactiveTab">
<apex:tab label="Onboarding">
<apex:form >
<center><apex:commandButton action="{!Save}" value="Save"/></center><br></br> <br></br>
<apex:inputField value="{!opportunity.Growth_Enhancement_Track__c}"/>
</apex:form>
</apex:tab>
<apex:tab label="Analysis">
</apex:tab>
<apex:tab label="Follow-up">
</apex:tab>
</apex:tabPanel>
</apex:page>
This is what it looks like also after I hit save.
This is what I would like it to look like after I hit save. Fields are just an example
<apex:page standardController="Opportunity" sidebar="false" showHeader="false">
<apex:tabPanel switchType="client" selectedTab="tabdetails"
id="OpportunityTabPanel" tabClass="activeTab"
inactiveTabClass="inactiveTab">
<apex:tab label="Onboarding">
<apex:form >
<center><apex:commandButton action="{!Save}" value="Save"/></center><br></br> <br></br>
<apex:inputField value="{!opportunity.Growth_Enhancement_Track__c}"/>
</apex:form>
</apex:tab>
<apex:tab label="Analysis">
</apex:tab>
<apex:tab label="Follow-up">
</apex:tab>
</apex:tabPanel>
</apex:page>
This is what it looks like also after I hit save.
This is what I would like it to look like after I hit save. Fields are just an example
Check this example -
I want to be here.