You need to sign in to do that
Don't have an account?
divya1234
the value null is not valid for operator >=
error is in <apex:outputPanel rendered="{!IF(finance__c.Income__c >=0,true,false)}"/> in <outputpanel> component .
I am trying to first check null values for the field to void the error,but i am stuck
1. first not sure whether we can check two if condition in output panel
2. <apex:outputText value=" to " rendered="{!IF(ISBLANK(finance__c.Income__c) , false , true)}" adding this line before <apex:outputPanel rendered="{!IF(finance__c.Income__c >=0,true,false)}"/> but no luck
please help me with the solution
I am trying to first check null values for the field to void the error,but i am stuck
1. first not sure whether we can check two if condition in output panel
2. <apex:outputText value=" to " rendered="{!IF(ISBLANK(finance__c.Income__c) , false , true)}" adding this line before <apex:outputPanel rendered="{!IF(finance__c.Income__c >=0,true,false)}"/> but no luck
please help me with the solution
You may try NOT(ISNULL(finance__c.Income__c)) use ISNULL instead of ISBLANK
Please mark it as solved if my reply was helpful, it will make it available
for others as a proper solution.
Best Regards,
Sandhya
If you are trying to get child relation field then use finance__r.Income__c in place of finance__c.Income__c.
<apex:outputPanel rendered="{!IF(finance__r.Income__c >=0,true,false)}"/>
not working:)
<apex:outputPanel rendered="{!IF(AND(finance__c.Income__cc != null, finance__c.Income__cc>=0)),true,false)}">