State of form element based on global config
You can unset a form element using this code :

var x = variable_get("VariableName");
if(x confirmed some condition)
{
  unset($form[$ELEMENT_YOU_DESIRE_TO_HIDE]);
}