<?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: Rules - multiple</title><link>https://www.infopathdev.com:443/forums/thread/42953.aspx</link><pubDate>Mon, 15 Jun 2009 16:28:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42953</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42953.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42953</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Matt Faus:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Unfortunately rules are not carried along with a button when you copy+paste inside of the Designer. This is one of the big advantages of using code behind buttons instead of rules.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m confused, though, because I make almost every form browser-enabled with the toolbar turned off.&amp;nbsp; In place of that, I create custom Submit and Close buttons.&amp;nbsp; I put them at the top and bottom of my views and usually have multiple views.&amp;nbsp; I only create the buttons with rules and conditional formatting once, then I copy them all over the form.&amp;nbsp; This always works for me, so I don&amp;#39;t know why it is thought not to work.&amp;nbsp; Is it because I only use &amp;quot;Rules and Custom Code&amp;quot; instead of the built-in Submit function?&amp;nbsp; I only give my button the name &amp;quot;Submit,&amp;quot; but I don&amp;#39;t actually use the built-in submit functionality.&amp;nbsp; I only use rules...&lt;/p&gt;</description></item><item><title>Re: Rules - multiple</title><link>https://www.infopathdev.com:443/forums/thread/42941.aspx</link><pubDate>Mon, 15 Jun 2009 14:00:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42941</guid><dc:creator>Alec Pojidaev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42941.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42941</wfw:commentRss><description>&lt;p&gt;One of the solutions might be creating hidden field with the set of rules&amp;nbsp;shared by each button. Then,after executing actions which are different from&amp;nbsp;shared set at one of the buttons just trigger Updated event on hidden field by assigning an new value (i.e. now()) so&amp;nbsp;shared set of rules will be executed.&lt;/p&gt;</description></item><item><title>Re: Rules - multiple</title><link>https://www.infopathdev.com:443/forums/thread/42933.aspx</link><pubDate>Mon, 15 Jun 2009 10:12:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42933</guid><dc:creator>Svetoslav</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42933.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=42933</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have a faced a similar problem when copying a button from one view in another one. Actually I had several views and a menu of buttons in the 1st view and I wanted to have the same menu in the other views, containing the same funtionality represented by rules. When I pasted the menu in the other view, some of the buttons didn&amp;#39;t possesed the rules, but the strange is that some of them did. I tried to realize what dependence exist, but I couldn&amp;#39;t find any!!! So I had to manually adjust the rules for each button. This was terrible and time consuming. Another thig that I faced is aging with copying buttons, but now with code behind. I had a table full of buttons with submitting functions, and all of the had conditional formatting. When I copyed the table into another view, it again copied only some of them with the corresponding names, the other were given&amp;nbsp;automatically new names,&amp;nbsp;which made the code unusable from the button. I had to open the button&amp;nbsp; and to put&amp;nbsp;the correct name. &lt;/p&gt;
&lt;p&gt;I just wanted to mention my experience,&amp;nbsp;and to&amp;nbsp;say that&amp;nbsp;I couldnt find more practical solution. &lt;/p&gt;
&lt;p&gt;Thank you for reading :)&lt;/p&gt;
&lt;p&gt;Best regards, &lt;/p&gt;
&lt;p&gt;Svetoslav &amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Rules - multiple</title><link>https://www.infopathdev.com:443/forums/thread/9472.aspx</link><pubDate>Thu, 06 Apr 2006 02:17:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9472</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9472.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9472</wfw:commentRss><description>Unfortunately rules are not carried along with a button when you copy+paste inside of the Designer.  This is one of the big advantages of using code behind buttons instead of rules.</description></item><item><title>Rules - multiple</title><link>https://www.infopathdev.com:443/forums/thread/5506.aspx</link><pubDate>Wed, 05 Apr 2006 22:34:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5506</guid><dc:creator>nwillis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5506.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5506</wfw:commentRss><description>I have set up multiple submit buttons one view of my form with several rules associated with each button. However, after I'm almost finished I wondered if there was a way to copy the rules from one button to another.  I can't figure it out, if you just try to copy the button, it wipes out the rules. Obviously the button do some different things, but some of the set up would be the same, just a little tweaking here and there....would save a lot of retyping and clicking. &lt;br /&gt;&lt;br /&gt;Does anyone know how to do this?</description></item></channel></rss>