You need to sign in to do that
Don't have an account?

How do I comment the Apex code?
I'm a newbie at SFDC.
I was trying to comment the code as
Am I doing something wrong? Please suggest.
Thanks!
I was trying to comment the code as
<! -- <apex:pageBlockSection> <p>{! IF( CONTAINS('salesforce.com','force.com'), 'Yep', 'Nope') }</p> <p>{! IF( DAY(TODAY()) < 15, 'Before the 15th', 'The 15th or after') }</p> </apex:pageBlockSection> -->It shows as if its commented in the developer console, but it doesn't reflect on preview.
Am I doing something wrong? Please suggest.
Thanks!
You are just doing a mistake by providing gap between <! and -- so just remove that space and put <!-- in the starting part of page this will
help you in commenting out the page.
All Answers
You are just doing a mistake by providing gap between <! and -- so just remove that space and put <!-- in the starting part of page this will
help you in commenting out the page.
Anyway, thank you Ajay K Dubedi. its working.