How can I make fields required based on user's answers?