adding validation in row