function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SumitkSumitk 

Check a SLDS checkbox in Visualforce page

checked="{!IF(isWebAppActive == false,"checked","")}"

I am using this code to check/uncheck checkbox on VFpage but it is giving me this error.

Element type "input" must be followed by either attribute specifications, ">" or "/>".

How can I check/uncheck checkbox on VF page?

 

ANUTEJANUTEJ (Salesforce Developers) 
Hi Sumith,

This generally occurs when the attribute might be incorrectly spelled or if it is having an incorrect value, can you try checking the attributes that you have used, and also in case if the error is still not going can you post the code here to check further.

Looking forward to your response.

Thanks.