Hello,
In a form we have a select box.
XML-data is:
is it possible to use also the extra field rasid?
regards,
Laurens
Hello,
In a form we have a select box.
XML-data is:
is it possible to use also the extra field rasid?
regards,
Laurens
Hi
not sure I understood you exactly need, but you can try userdata for extra data, here is a demo:
dhtmlx.com/docs/products/dhtmlxF … rdata.html
Hello Andrei,
Is ‘Userdata’ also working with select boxes?
I’ll trie to demonstrate what needed is.
I have a form with a select box.
If an option is selected, and a button is pressed, a new row in a grid has to be created and filled with two values depending on the selectbox.regards
Hi
sorry still not sure regarding your question.
var myForm = new dhtmlXForm(...);
myForm.attachEvent("onButtonClick", function(name){
if (myForm.getItemValue("selectBoxName") == "some_value") {
myGrid.addRow(...);
}
});
what the problem is?
Hello Andrei,
I made another solution.
in the value of the selectbox,I combined both values to one value. (between both values is a ‘-’ )
the javscript-code splits it back to the Original values.
regards,
Laurens