I have a dropdown box called Color with three options for user input: "Blue", "Green", "Select One"
My textbox called FavCarType is initially hidden and should not show whenever "Select One" is chosen, however if either "Blue" or "Green" is selected, I want the textbox FavCarType visible for the user to input.
Use this code as the drop-down's Validate script:
this.getField("FavCarType").display = (event.value=="Select One") ? display.hidden : display.visible;