2

I am wondering if there is a way to set conditional formulas in Visualforce templates where fields that have a NULL value do not appear as empty spaces in the template.

For instance I have a field "In_Honor_Of__c" if this field is null in record it should not display the null value, or extra space, at all.

Let me know if you have any questions and hope it helps.

1

Perhaps wrapping that section in an apex:outputPanel.. Doc Reference

e.g.

<apex:outputPanel rendered="{!!ISBLANK(YOUR_OBJECT.In_Honor_Of__c)}">
    // desired markup here
</apex:outputPanel>

Any reason why an outputPanel can't be used? Hope this helps!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.