How to set Yes/No selection to determine redirection?