You need to sign in to do that
Don't have an account?
dgindy
Any Ideas?
If Statements
Are there If statement you can run inline with the APEX HTML?
Code:
<apex:outputLink value="/{!Visits.WhoId}" target="_top">If({!Visits.RelatedName__c}=='')({!Visits.PatName__c}else ({!Visits.RelatedName__c}</apex:outputLink>
Any Ideas?
Or if you expect visits.relatedName__c to be null, you can do:
{!nullValue(visits.relatedName__c, visits.PatName__c)}
Something like that should work... it's the same formula language that is used elsewhere in the salesforce application.
Since I have a link to the top window of an iframe, how would i avoid the link? I can't use javascript with the APEX code because the APEX renders first correct?