dynamic field validation can be added for the text fields