add in TSValidatedTextField logic