disabled other degree input field when hidden and enable when visible