link up text fields to actions