Combo.show(false) does not hide label

Hi,

i have modified a search form and like to be hide combo boxes if in a special case no options available.

i do

combo.show(false)

The box is hidden, but the label isnt hide. How i am wrong?

Regards
Kai

Hi
To clear combo value you need to use

combo.setComboText("")

No, thats not what i mean.

Ich want to hide the Box and the label, too. Not the combo text.

ok, i think here is the problem:

dhtmlXCombo.prototype.show = function(mode){
      if (convertStringToBoolean(mode))
         this.DOMelem.style.display = "";
      else
         this.DOMelem.style.display = "none";
   }

so the label is not touched by this method.

does exist a workaround to hide the label?

Sorry, i have to use

form.hideItem(id)

i thought i have to use combo methods

sorry.

btw: great framework!!!

Than you
You are welcome!