You need to sign in to do that
Don't have an account?
RIyas Basheer
Visual force Page Error: Syntax error. Missing ')'
Hi,
I am getting an error Error: Syntax error. Missing ')' while saving a visualforce page on below line:
As on inspection the if statement "{!IF(FbPost.scheduledHour = '', true, false)}" causes the error.
Can anyone help me to find the solution?
I am getting an error Error: Syntax error. Missing ')' while saving a visualforce page on below line:
<apex:inputCheckbox id="theScheduleCheckbox" styleClass="scheduleCheckbox" selected="{!IF(FbPost.scheduledHour = '', true, false)}" onchange="showCalendar(this, 0);" />
As on inspection the if statement "{!IF(FbPost.scheduledHour = '', true, false)}" causes the error.
Can anyone help me to find the solution?
"{!IF(FbPost.scheduledHour == null, true, false)}"
Have you tried "==" ?
If not; please check it out. "{!IF(FbPost.scheduledHour == '', true, false)}"