This topic is locked

Treeview With Check Or User Structure?

3/25/2013 2:32:28 PM
PHPRunner General questions
M
mik 62 author

Good evening to all,

I need to know if anyone has ever used a structure type treeview with check in page edit / add, such as the help html php-runner but with the ability to check for items.
I created an alternative structure like this:
[color="#FF0000"]<DIV id=prova>
</ DIV>
..

...

....

[color="#FF0000"]while ($ dataCRU = db_fetch_array ($ RSTP)) {

$ $ nncru nncru = + 1;

$ visualizzaCRU = $ dataCRU ['description'];

$ PP0. = '<INPUT id="ib'.$nncru.'"class=button type=checkbox>

<Label> '. $ visualizzaCRU. '</ LABEL>
';

$ pageObject-> setProxyValue ("var". $ nncru, 'ib'. $ nncru);

}

/ / Display the structure already read.

$ pageObject-> setProxyValue ("oopp", $ PP0);

....

...

..
[color="#FF0000"]document.getElementById ("test"). innerHTML = proxy ['oopp'];
this.on ('BeforeSave', function (formObj, fieldControlsArr, pageObj) {
valpp var = $ ('#' + proxy ['var01'] + ': checked "). val ();

formObj.baseParams [proxy ['var01']] = valpp;

/ / Alert (valpp);
});
and I stopped here because I can not pass variables and make them risconoscere not the next $ _REQUEST ["test"] to access custom variables.
you know you help me?