Hi Ruslan,

I found an alternative,

Suppose your dataCombo id is 'test' ( <dataCombo id="test" ...):

Method %OnDrawHTMLBody() As %Status
{
      &html<<script type="text/javascript">
          document.addEventListener("DOMContentLoaded", function(event) {
          var old document.getElementById('test').innerHTML;
          newHtml old.replace('class="comboboxInput"','class="comboboxInput" placeholder="Your custom placeholder..."');
          document.getElementById('test').innerHTML newHtml;
       });</script>>
      Quit $$$OK
}
 

I hope it helps!

Andrei L. Nenevê

Hi Marco,

You can do with QUIT, to take back the value in javascript and work with it:

ClientMethod searchValue() [ Language = javascript ]
{
var ctrl zen('CountryID');
tVar ctrl.getValue();
alert (tVar); ///test-show text value

///example
name = zenPage.sqlTest(tVar);

zen('CountryName').setValue(name);
}

Method sqlTest(tVar) [ ZenMethod ]
{
SET InVal = tVar
   &sql(SELECT Countrie
        INTO :OutVal
        FROM ZenCrm_Data.Countries
        WHERE CountrieCode=:InVal)
   QUIT:SQLCODE'=0 "No data returned! \n SQL error code "_SQLCODE
   QUIT "Name is = "_OutVal
}

Actually I get all of my pages of the server side, it's all working, but I have this menu that is causing the page to load very slowly, it's taking too much time to load all contents, and I don't know how to upgrade this. I have to load the menu in every page, is there a way to load subcontents only after I click in a collapsible in menu.

Can I load this content's only when a click in the collapsible, and not load all in the beginning?