adding the resign responder function to each textfield in data interaction class