checkbox field with three answers required

checkbox field with three answers required

 How can I configure a checkbox field with 6 choices to return a error message if less than three fields are selected?