First version of validate in selects