+ Start a Discussion
Pankaj Gupta 94Pankaj Gupta 94 

Amount Earned Font should show color as per the directives defined Amount Invested > Amount Earned Color is RED, If Amount Invested = Amount Earned color is BLUE and If Amount Invested < Amount Earned color is GREEN

Amount Earned Font should show color as per the directives defined    
Amount Invested > Amount Earned    Color is RED,
If  Amount Invested = Amount Earned color is BLUE and
If Amount Invested < Amount Earned    color is GREEN

I have defined the fields as 
<apex:inputField value="{!newContact.Amount_Invested__c}" required="true"/>
<apex:inputField value="{!newContact.Amount_Earned__c}" required="true"/>