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
zeezackisbackzeezackisback 

Apex to have a special tab - CASE conditions

<apex:page standardController="Claim__c" showHeader="true" tabStyle="Claim__c" > <style> .activeTab {background-color: #236FBD; color:white; background-image:none} .inactiveTab { background-color: lightgrey; color:black; background-image:none} </style> <apex:tabPanel switchType="client" selectedTab="tabdetails" id="ClaimTabPanel" tabClass="activeTab" inactiveTabClass="inactiveTab"> <apex:tab label="Details" name="AccDetails" id="tabdetails"> <apex:detail relatedList="false" title="true"/> </apex:tab> <apex:tab label="Open Activities" name="OpenActivities" id="tabOpenAct"> <apex:relatedList subject="{!Claim__c}" list="OpenActivities" /> </apex:tab> <apex:tab label="Notes and Attachments" name="NotesAndAttachments" id="tabNoteAtt"> <apex:relatedList subject="{!Claim__c}" list="NotesAndAttachments" /> </apex:tab> <apex:tab label="Special" name="Special" id="tabSpec"> <script> claim.name = "{!Claim__c.Name}"; document.write("test"); </script> <apex:outputPanel layout="block"> <label for="checkbox">Click this box to change text font: </label> <input id="checkbox" type="checkbox" onclick="changeFont(this,'{!$Component.thePanel}');"/> </apex:outputPanel> </apex:tab> </apex:tabPanel> </apex:page>

 

Hey ya guys, I am trying to re-create the case section...in my situation claims. I've got all the tabs out apart from the tracking history one... can't seem to get it working.

 

I'm creating a special tab that I want to DISPLAY a particular selection of input fields dependant on say a few other fields... like if the claim has just been made, or if its received a document etc...

 

 

How do I resolve this mamoth task? Need help urgently.