made a new text field to add new course. trying to add some javascript function to dynamically disable the text field if the add course option is not selected