Conditional questions

Set up conditions where people are shown questions only if they give specific answers on certain questions. For example, only show the question, "What is your favorite type of dog" if someone answers YES on the question "Do you like dogs?"