Using global validate_action.