You need to sign in to do that
Don't have an account?
Ashvin Jadhav 13
Syntax error. Missing ')' in inputcheckbox apex tag
Hi All,
I am using condition in selected attribute in inputcheckbox as,
<apex:inputCheckbox selected="{!if (p.prod.in_stock__c == true ,true,false)}" disabled="true" />
where in_stock__c is a checkbox field so whenever the value of in_stock__c is checked my checkbox willl also be checked.
but on saving it is giving me Syntax error. Missing ')' error.
Please help !
Thanks & Regards,
Ashvin
I am using condition in selected attribute in inputcheckbox as,
<apex:inputCheckbox selected="{!if (p.prod.in_stock__c == true ,true,false)}" disabled="true" />
where in_stock__c is a checkbox field so whenever the value of in_stock__c is checked my checkbox willl also be checked.
but on saving it is giving me Syntax error. Missing ')' error.
Please help !
Thanks & Regards,
Ashvin
<apex:inputCheckbox selected="{! p.prod.in_stock__c }" disabled="true" />