Frame quiz with logic condition