how do you validate terms and conditions?