Adding validation for checkmatrix (same as for multiselect)

Change-Id: I825ec8a6094405cf7d74597a0eeda3898981763b