-
So - sounds like the template has a different schema than the saved XML. You should download one of the saved XML files, and open it with a text editor, and take a look at the schema. You can also preview your current template with one of the existing XML to see what happens - you may need to set versioning to update XML prior to trying this. Feel ...
-
That seems very odd! Any chance you can attach a copy of your form under the Options tab in a reply?
-
So hwprice & swprice are fields that are using similar defaults for their values? Do both fields have values if you put them on the form to take a look at them?
-
I see a colleague of mine replied to you via email w/ a suggestion - I'm going to have him post his solution here as well.
-
Wonderful - glad that worked! The XPath filter (in the square brackets) indicates which repeating nodes you want from your data source. Current() refers to the node where we are putting the formula. :)
-
Try this:
sum(xdXDocument:GetDOM("Standard Hardware")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[d:Title = current()/../my:computerhardware]/d:Price)
-
If you click Edit XPath in the formula window, what's the resulting XPath? Can you paste it in a reply?
-
How do they add the subrecord? You have an insert button, or they use the InfoPath widget?
-
Email layout can be so fussy. Do you have everything in a layout table?
-
I'm not aware of a way to do this .... I'm wondering if it might be possible in code (if this isn't Office 365) but I can't think of anything out of the box.