How can I conditionally show a field based on user input?