How to pass data to another field based on user's answer?