I'm using infopath 2010 with SharePoint 2010, and I'm having a bug, which I'll try to explain.
I have a form with more than one page, and on the first page I have a textbox (EnqLocation) with a counter with this XPath expression: string-length(my:EnqLocation) [on form this is a SharePointListItem_RW]
At the first time, it works fine, I write the text inside the textbox and after click out of the textbox on the SharePointListItem_RW the value is updated.
The problem is, when I click on next to the next page and after that I go back to the first page using a "previous" button I can change any text on the textbox but the characters counter never change, and if I refresh the page, the funcionality comes work
and the text is updated with the text I had before go to the second page.
I think this is a problem related with variables state which is lost or not updated.
This is a weird bug.
If you need some more information I will be glad to provide it.
View Complete Post