You need to sign in to do that
Don't have an account?
Tushar sharma
How to use Merge field in if condition
I am using merge field in if condition command link tag but it don't get any value.
Here IF(sortField=='{!lable}' here {!lable} don't get any value how to do this
<apex:repeat value="{!st}" var="lable">
<apex:commandLink action="{!getValue}" value="{!lable} {!IF(sortField=='{!lable}',IF(sortDir=='ASC','↑','↓'),'')}" rerender="showRecord" status="actStatusId">
Here IF(sortField=='{!lable}' here {!lable} don't get any value how to do this
{!IF(condition,'YES','NO')}
All Answers
{!IF(condition,'YES','NO')}