Disabled a variable when an other variable is disabled