validation_for_button