add form validation for rowsPerPage preference

cbugg: close bug-403