Hi all
I have an InfoPath 2007 form that is web enabled and running under SharePoint 2007 using Forms Services.
The form has a textbox on it with a rule that updates the value of the field to be "translate(.; "abcdefghijklmnopqrstuvwxyz"; "ABCDEFGHIJKLMNOPQRSTUVWXYZ")" - in other words, I convert the string into uppercase. This works fine.
But I also have a button, which has a code behind which does lots of stuff. If the user enters a text in the textbox and does NOT leave the textbox, and then clicks on the button, then only the rule for the textbox (the uppercase) is fired. The code behind for the button is not fired. If I have a button that does not have a code behind, but only rules, the same happens - only the rule for the textbox is fired and not the rules for the button.
I need the not have to force the user to leave the textbox before he can click on the button - what can I do?
Thanks.
eliasen, representing himself and not the company he works for.
Microsoft BizTalk MVP
Blog: http://blogs.eliasen.dk/technical/