You need to sign in to do that
Don't have an account?
Help with VF Email layout
I am trying to remove white space from a VF email template created from line-breaks associated with conditional IF statements. If all the conditions are meet, the email spacing is fine. However, if none of the conditions are meet, the email renders with a large white space. Is there a better way to render the data?
Here is my IF Statement
{!IF(relatedTo.hardcover_formula__c == 'Yes',A, NULL)} <br /><br />
{!IF(relatedTo.hardcover_formula__c == 'Yes','B NULL)} <br />
{!IF(relatedTo.ship_to_formula__c == 'Other', C, NULL)}<br /><br /><br />
Thanks in advance!
You should use outputPanel to manage things instead of straight code in vf page. FYI
Hope this will help you fix the issue. Let me know in case you need something else.
Thanks,
Sanjay
All Answers
You should use outputPanel to manage things instead of straight code in vf page. FYI
Hope this will help you fix the issue. Let me know in case you need something else.
Thanks,
Sanjay