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
Anirudh Sharma 5Anirudh Sharma 5 

validation on VF page

Hello guys I have a question I have a VF page and I have multi check box field and there are like 15 checkboxes in that so the requirement is 
I have a VF page and we have a requirement regarding the question 11 which is shown in the picture. 
User-added image
Actually the requirement is when I click any any multibox and also select None of the above It just thrown an validation error saying that clear none of the above value or the other values or if I select None of the above and any other option it should an validation error saying the same. 

Please help me in this. 
PratikPratik (Salesforce Developers) 
Hi Anirudh,

You can refer this:

http://www.salesforce.com/us/developer/docs/pages/index_Left.htm#StartTopic=Content/pages_controller_validation.htm?CSHID=pages_controller_validation.htm

https://developer.salesforce.com/forums/ForumsMain?id=906F00000008uNfIAI

Thanks,
Pratik