I need to make a field display only when a certain criteria is discovered. What is the javascript function and command to get this done?