<?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: More than one submit button on form</title><link>https://www.infopathdev.com:443/forums/thread/7441.aspx</link><pubDate>Tue, 16 Aug 2005 19:06:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7441</guid><dc:creator>dpinkerton</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7441.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7441</wfw:commentRss><description>Excellent! Thanks for responding, I'm just now getting back to it, and you saved me some time.  Worked liek a charm. Thanks again!&lt;br /&gt;&lt;br /&gt;:)&lt;br /&gt;&lt;br /&gt;donna</description></item><item><title>Re: More than one submit button on form</title><link>https://www.infopathdev.com:443/forums/thread/7440.aspx</link><pubDate>Thu, 11 Aug 2005 23:39:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7440</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7440.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7440</wfw:commentRss><description>Hi Donna,&lt;br /&gt;For default submit, InfoPath enforces one data connection. To work around this, change the Action to "Rules and Custom Code" and add a rule with two or more actions:&lt;br /&gt;&lt;br /&gt;1. Double click on the button and change the dropdown from Submit to "Rules and Custom Code". &lt;br /&gt;2. Click Rules. &lt;br /&gt;3. Click Add. &lt;br /&gt;4. Click Add Action. &lt;br /&gt;5. Select "Submit using a data connection" from the Action dropdown. &lt;br /&gt;6. Choose the first data connection that you want to submit to, for example "SharePoint submit". &lt;br /&gt;7. Repeat step 4-6 for another submit data connection (for example "E-mail submit").&lt;br /&gt;8. Click OK 3 times.&lt;br /&gt;9. Preview form.&lt;br /&gt;10. Click on button&lt;br /&gt;11. InfoPath will sequentially submit to multiple data connections&lt;br /&gt;&lt;br /&gt;Good luck!&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: More than one submit button on form</title><link>https://www.infopathdev.com:443/forums/thread/7439.aspx</link><pubDate>Thu, 11 Aug 2005 18:28:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7439</guid><dc:creator>dpinkerton</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7439.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7439</wfw:commentRss><description>Ok thanks, more details would be great! If i get a moment I will look into the rules in the meantime, and see if I can figure it out today also.&lt;br /&gt;&lt;br /&gt;Thanks!</description></item><item><title>Re: More than one submit button on form</title><link>https://www.infopathdev.com:443/forums/thread/7438.aspx</link><pubDate>Thu, 11 Aug 2005 17:43:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7438</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7438.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7438</wfw:commentRss><description>That's because you are using default Submit handler instead of Rules with multiple actions. I'm pretty busy today but will try to respond with more details later.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: More than one submit button on form</title><link>https://www.infopathdev.com:443/forums/thread/7437.aspx</link><pubDate>Thu, 11 Aug 2005 15:25:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7437</guid><dc:creator>dpinkerton</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7437.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7437</wfw:commentRss><description>Patrick -&lt;br /&gt;&lt;br /&gt;Thanks for your response - this is exactly what I have done.  I have two data connections for submit = SubmitForm and PendForm that call different functions in the same web service.&lt;br /&gt;&lt;br /&gt;i add the first button - select SubmitForm and it's fine, works great.  However, once I add the second button, set it up as a submit calling pendForm data conenction, my first button now also points to PendForm instead of the SubmitForm. &lt;br /&gt;&lt;br /&gt;So while it seems you can have more than one submit button, you really cannot - they end up pointing to that same submit data connection all the time.&lt;br /&gt;&lt;br /&gt;This is my issue.&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br /&gt;&lt;br /&gt;donna</description></item><item><title>Re: More than one submit button on form</title><link>https://www.infopathdev.com:443/forums/thread/7436.aspx</link><pubDate>Wed, 10 Aug 2005 23:23:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7436</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7436.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7436</wfw:commentRss><description>Hi Donna,&lt;br /&gt;Sure, this is easy in the the Designer. Once you have added two "submit" data connections (Tools-&amp;gt;Data Connections-&amp;gt;Submit-&amp;gt;...). Just add a button to your form and double click it to bring up properties. Click rules and add. Click Add an Action. Select Submit using a data connection and choose the submit you would like to use. Close the dialogs and preview your form.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>More than one submit button on form</title><link>https://www.infopathdev.com:443/forums/thread/4849.aspx</link><pubDate>Wed, 10 Aug 2005 20:26:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4849</guid><dc:creator>dpinkerton</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4849.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4849</wfw:commentRss><description>Can I not have more than one submit button on a form?  I've added two and notice if I change the webservice submit function for one of them it changes for both.&lt;br /&gt;&lt;br /&gt;I would like to have more than one submit button to call different methods in my webservice for handling of the form.  IE - Complete button will save and index form, Save button will save the form and route it to a workflow in our application.  These are two distinct methods in my web service.  &lt;br /&gt;&lt;br /&gt;I can see ways around this - possibly, but we are trying to minimize the custom code and scripting in our forms.  Suggestions on the best ways to do this would be appreciated!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br /&gt;&lt;br /&gt;Donna</description></item></channel></rss>