I downloaded the example of populating fields after selection to see how that technique worked.
After a bit, I discovered that you set rules for the dropdown box:
Set a fields value
Field Name
SQLField[@ContactName=@Name]
OK, looks simple enough for even me to do!
But it doesn't work for me...
So I went back to you sample form, and deleted a rule and tried to recreate it.
The old rule: @CustomerID[@ContactName=@Name]
The new rule: @CustomerID[@ContactName=@Name]
Should be the same, but the old one works and the new one doesn't. I looked at the XPath, and it's different:
Old Rule:
xdXDocument:GetDOM("Customers")/dfs:myFields/dfs:dataFields/d:Customers/@CustomerID[../@ContactName = xdXDocument:get-DOM()/my:myFields/my:Customer/@my:Name]
New Rule:
xdXDocument:GetDOM("Customers")/dfs:myFields/dfs:dataFields/d:Customers/@CustomerID[xdXDocument:GetDOM("Customers")/dfs:myFields/dfs:dataFields/d:Customers/@ContactName = @Name]
Do you have to write the write the XPath by hand? I used the insert field selector create the formula.
Any help would be appreciated!