Hi!
I use myForm.loadStruct(“form.json”, function(){});
to create & load a form.
How do I get a handle to an object from the form.json?
For instance, if I have a combo in the external form.json, like this:
[
{type: “combo”, name:“myCombo”, label: “Combo”},
]
alert(myForm.getItemType(‘myCombo’)); returns Null
What I want to do is load the options in the combo from an other .json,
I guess something like
myCombo.load(“values.json”);
but it’s not working.
Thank you for any help