You need to sign in to do that
Don't have an account?
lil_ranger
Display a number field when not null
How do I get the second line to show if the Contract.Est_Labor_Hours__c number field is not null? I've tried it a couple of different ways, but I can't get the line to display when there is something in there.
<apex:outputField rendered="{!IF(Contract.Est_Labor_Hours__c != null,'','display:none;')}"> Project Manager: {!ROUND(Contract.Est_Labor_Hours__c,0)}</apex:outputField>
Output field is to dispay a salesforce field, I would try OutputText to get what you want. It is more dymanic and lets you put a string in the value attribute which should do the trick.
All Answers
Output field is to dispay a salesforce field, I would try OutputText to get what you want. It is more dymanic and lets you put a string in the value attribute which should do the trick.
It worked! Thank you.
I just had to change one other thing which was != null to == null
Good deal, glad I could help!!
I also wanted to say thanks for this - it helped a ton!