You need to sign in to do that
Don't have an account?
RahulBorgaonkar@Britsafe
Visualforce - Error: Syntax error. Missing ')'
Hi,
I am using a formula in rendered option of inputCheckbox. It is as below
<apex:inputCheckbox id="isDelete" value="{!ebrecs.deleteDelegate}" selected="false" rendered="{!IF(OR(ebrecs.EventBooking['Name']==null, ebrecs.EventBooking['Name'].contains('New-EB')),true,false)}">
I am getting Error: Syntax error. Missing ')'
Could you please help to find correct syntax.
Best Regards,
Rahul
I am using a formula in rendered option of inputCheckbox. It is as below
<apex:inputCheckbox id="isDelete" value="{!ebrecs.deleteDelegate}" selected="false" rendered="{!IF(OR(ebrecs.EventBooking['Name']==null, ebrecs.EventBooking['Name'].contains('New-EB')),true,false)}">
I am getting Error: Syntax error. Missing ')'
Could you please help to find correct syntax.
Best Regards,
Rahul
<apex:inputCheckbox id="isDelete" value="{!ebrecs.deleteDelegate}" selected="false"
rendered="{!(IF(OR(ebrecs.EventBooking['Name']==null, (ebrecs.EventBooking['Name']).contains('New-EB')),true,false))}">
Here is the simplified condition which you can use for rendered attribute -
<apex:inputCheckbox id="isDelete" value="{!ebrecs.deleteDelegate}" selected="false" rendered="{!ebrecs.EventBooking['Name']==null || ebrecs.EventBooking['Name'].contains('New-EB')}">
Regards,
Vivek Patel.
Please like or mark this as best answer if this answers your question to help others find better answer and improve the quality of developer forum.