+ Start a Discussion

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 .

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
Shweta AlwaniShweta Alwani
Hi divya,

Try this :
<apex:outputPanel rendered="{!!IsNull(finance__c.Income__c) && finance__c.Income__c > 0}"></apex:outputPanel>

<apex:pageBlockSectionItem> may have no more than 2 child components getting this error
Shweta AlwaniShweta Alwani
Please send you code