M
Matt
I'm using a secondary data file to populate dropdowns, and am having trouble
getting any items to show up in the dropdown.
My XML file looks like this:
<xml>
<applications>
<special_lookup>sponsor
<lookupItemid lookupItemTitle="Text1" Status="A">1</lookupItemid>
<lookupItemid lookupItemTitle="Text2" Status="B">2</lookupItemid>
<lookupItemid lookupItemTitle="Text3" Status="C">3</lookupItemid>
</special_lookup>
</applications>
</xml>
My Entries box contains the following:
/xml/applications/special_lookup/lookupItemid[..= "sponsor"]
When set up like this, I get no values in the dropdown when I preview or run
the form.
If I change the XML file to look like this:
<xml>
<applications>
<special_lookup name="sponsor">
<lookupItemid lookupItemTitle="Text1" Status="A">1</lookupItemid>
<lookupItemid lookupItemTitle="Text2" Status="B">2</lookupItemid>
<lookupItemid lookupItemTitle="Text3" Status="C">3</lookupItemid>
</special_lookup>
</applications>
</xml>
And use the following in the Entries box:
/xml/applications/special_lookup/lookupItemid[../@name = "sponsor"]
I get the values in the dropdown.
I assume I’m missing something in the Entries box that causes it to show no
values in the dropdown. Any ideas?
Thanks
getting any items to show up in the dropdown.
My XML file looks like this:
<xml>
<applications>
<special_lookup>sponsor
<lookupItemid lookupItemTitle="Text1" Status="A">1</lookupItemid>
<lookupItemid lookupItemTitle="Text2" Status="B">2</lookupItemid>
<lookupItemid lookupItemTitle="Text3" Status="C">3</lookupItemid>
</special_lookup>
</applications>
</xml>
My Entries box contains the following:
/xml/applications/special_lookup/lookupItemid[..= "sponsor"]
When set up like this, I get no values in the dropdown when I preview or run
the form.
If I change the XML file to look like this:
<xml>
<applications>
<special_lookup name="sponsor">
<lookupItemid lookupItemTitle="Text1" Status="A">1</lookupItemid>
<lookupItemid lookupItemTitle="Text2" Status="B">2</lookupItemid>
<lookupItemid lookupItemTitle="Text3" Status="C">3</lookupItemid>
</special_lookup>
</applications>
</xml>
And use the following in the Entries box:
/xml/applications/special_lookup/lookupItemid[../@name = "sponsor"]
I get the values in the dropdown.
I assume I’m missing something in the Entries box that causes it to show no
values in the dropdown. Any ideas?
Thanks