Value of readonly

Hi



How I know at _DrawHeaderInput function if the input is editable or readonly



Thanks in advanced

_DrawHeaderInput is carried out before readonly method can be called.

You can try to set own variable  with editable|readonly mode before call of dhtmlXCombo.
And then you should check this variable in _DrawHeaderInput  method.   


Thanks for your answer



I’m looking for any way to not create _new_value elements if they are not necessary (as in readonly method)



I’ll try as you say

If you want to not use DOMelem_hidden_input2 property you should take into consideration all its entries (in the _confirmSelection method too).

One remark - the value of DOMelem_hidden_input2 can be “true” in readonly mode  if the new value is set  by  setComboValue  method.