<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Multiple rules at the same time</title><link>https://www.infopathdev.com:443/forums/thread/69235.aspx</link><pubDate>Sun, 14 Aug 2011 08:32:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69235</guid><dc:creator>TedCa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69235.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=69235</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have found (with browser forms), that on_changed events can get generated (with the data at the time that the event was kicked off), but the event does not actually run until later&amp;nbsp; e.g. a button click.&amp;nbsp; I think your code may be conflicting with the rule execution.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;As a result of the above, my conclusion is that the safe way to program browser forms is to put anything that changes data into code and attach the code to button clicks only - not rules. So if you change the rule that converts to uppercase into code, that should solve your problem. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Multiple rules at the same time</title><link>https://www.infopathdev.com:443/forums/thread/69222.aspx</link><pubDate>Fri, 12 Aug 2011 07:39:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69222</guid><dc:creator>eliasen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69222.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=69222</wfw:commentRss><description>&lt;p&gt;Yes, it does.&lt;/p&gt;
&lt;p&gt;It appears that the event for the changed textbox is fired whenever the focus leaves the textbox. Unfortunately, if that includes a button that is clicked, then the event for the buttonclick seems to be ignored.&lt;/p&gt;
&lt;p&gt;Can you reproduce this or is it just me? In other words; Is there any hope that it can be fixed or not?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Multiple rules at the same time</title><link>https://www.infopathdev.com:443/forums/thread/69204.aspx</link><pubDate>Thu, 11 Aug 2011 15:20:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69204</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69204.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=69204</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m pretty stumped on this one. I take it if the user clicks outside of the box someplace (into another field, for example) and clicks the button, the code &lt;em&gt;does&lt;/em&gt; run?&lt;/p&gt;</description></item><item><title>Re: Multiple rules at the same time</title><link>https://www.infopathdev.com:443/forums/thread/69194.aspx</link><pubDate>Thu, 11 Aug 2011 09:34:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69194</guid><dc:creator>eliasen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69194.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=69194</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Nothing changes, it seems, no matter what I use for the settings about post back.&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Multiple rules at the same time</title><link>https://www.infopathdev.com:443/forums/thread/69060.aspx</link><pubDate>Mon, 08 Aug 2011 07:58:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69060</guid><dc:creator>eliasen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69060.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=69060</wfw:commentRss><description>&lt;p&gt;Hi. Sorry about the late answer - I am in Denmark (Central European Time) so my weekend had begun when you answered :-)&lt;/p&gt;
&lt;p&gt;Anyway, both are set to &amp;quot;Only when necessary for correct rendering of the form (recommended)&amp;quot;.&lt;/p&gt;
&lt;p&gt;I suppose I can play around with the values and see if anything changes. I&amp;#39;ll keep you posted.&lt;/p&gt;</description></item><item><title>Re: Multiple rules at the same time</title><link>https://www.infopathdev.com:443/forums/thread/69022.aspx</link><pubDate>Fri, 05 Aug 2011 15:47:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69022</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69022.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=69022</wfw:commentRss><description>&lt;p&gt;Wow - that&amp;#39;s kind of interesting. What are the postback settings on the controls concerned? Have you tried adjusting those? I mean, because in order for the rule to fire on the textbox, the text has to have changed (which means, to the best of my understanding, the selected control will no longer be the textbox, but, in this scenario, the button...)&lt;/p&gt;</description></item><item><title>Multiple rules at the same time</title><link>https://www.infopathdev.com:443/forums/thread/69002.aspx</link><pubDate>Fri, 05 Aug 2011 08:16:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69002</guid><dc:creator>eliasen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69002.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=69002</wfw:commentRss><description>&lt;p&gt;Hi all&lt;/p&gt;
&lt;p&gt;I have an InfoPath 2007&amp;nbsp;form that is web enabled and running under SharePoint 2007 using Forms Services.&lt;/p&gt;
&lt;p&gt;The form has a textbox on it with a rule that updates the value of the field to be &amp;quot;translate(.; &amp;quot;abcdefghijklmnopqrstuvwxyz&amp;quot;; &amp;quot;ABCDEFGHIJKLMNOPQRSTUVWXYZ&amp;quot;)&amp;quot; - in other words, I convert the string into uppercase. This works fine.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;I need the not have to force the user to leave the textbox before he can click on the button - what can I do?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item></channel></rss>