add eextra condition for validation of input
validating rep on blur by clicking save working