validation added to each element in new transaction form