Problem using form with select and connector

Hi,

I have a very simple form defined in a XML Configuration file like that :

[code]<?xml version="1.0"?>

<item type="input" name="modele" bind="nomModele" label="Modèle"/>
<item type="button" command="save" value="Enregistrer"/>

[/code]

When i run myForm.loadStruct(“file.xml”);

I would expect my select to be filled with load_data/constructors.php response … but it doesn’t seems to work.

I think nothing happen … My select is empty … and i’m quite sure load_data/constructors.php is never called.

Could you tell me if it’s possible to do what i want to do ? And how ?

Hi,

what form version are you using ?

Hi
I have the same problem using this version:
dhtmlxSuite 2010 Rel.1 (DHTMLX 2.6) Standard edition build 110318

Please help!
Is there a solution for this problem?
The combo connector works fine when using it like the example on
dhtmlx.com/docs/products/dht … tions.html
but running loadStruct doesn’t fire the connector php.

This works:
formData = [{
type: “select”,
name: “sgi_status”,
label: “Current Status”,
connector: “xml/statusList.php”
}];
testForm = new dhtmlXForm(“testDiv2”,formData);

This doesn’t work:
testForm = new dhtmlXForm(“testDiv2”);
testForm.loadStruct(“xml/testForm.xml”);

testForm.xml:

<?xml version="1.0"?>

We cannot reproduce this issue at the dhtmlxForm 3.0 beta. Try to update your files

Where do I download 3.0?

Here dhtmlx.com/blog/?p=890