My InfoPath form contain a field (called "sum") which it's Data type is "Decimal" and the Format currency is $.
I have button that in it's OnClick code I have this:
double totalsum=3455.7;
this.thisXDocument.DOM.selectSingleNode("//my:myFields/my:sum").text=totalsum;
By I get Error. What's wrong???