Hi all,
I would like to integrate a combo into the form.xml definition, but I can’t get it to work.
I use the example on the site (contact manager) so I have a form as:
contactForm = layout.cells(“b”).attachForm();
contactForm.loadStruct("./xml/form.xml");
This form is filled by:
contactsGrid.attachEvent(“onRowSelect”, function(rID,cInd){
contactForm.load("./xml/contact_details.php?id="+rID);
})
In Form.xml I have inserted a combo like:
Then the combo is shown (empty) in the form.
My problem is how to add the ‘fill’ the combo with the items list?
Something like FormCombo.loadXML("./xml/combo.php") just like populating the input fields in form.xml?
Thanks,
Alex