<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Submit button  Help</title><link>https://www.infopathdev.com:443/forums/thread/84351.aspx</link><pubDate>Mon, 12 Nov 2012 15:51:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84351</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84351.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=84351</wfw:commentRss><description>&lt;p&gt;You should be able to do this with a single button and no code. You&amp;#39;d have some different sections with conditional formatting on them and some helper fields to display / hide the appropriate sections. &lt;a href="http://www.infopathdev.com/forums/t/18210.aspx"&gt;This&lt;/a&gt; post discusses the basic idea. If you use a formula for your email &amp;quot;To&amp;quot; address (like a field in the form or a secondary data source) you can change that in your rules as well.&lt;/p&gt;&lt;p&gt;Generally, the rules would be:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Set helper field to display only the IT section&lt;/li&gt;&lt;li&gt;Set email address field used in email connection to correct address for IT&lt;/li&gt;&lt;li&gt;Submit using email data connection&lt;/li&gt;&lt;li&gt;Set helper field to hide IT section&lt;/li&gt;&lt;li&gt;Set helper field to display Payroll section&lt;/li&gt;&lt;li&gt;Set email address field used in email connection to correct address for Payroll&lt;/li&gt;&lt;li&gt;Submit using email data connection&lt;/li&gt;&lt;/ol&gt;</description></item><item><title>Re: Submit button  Help</title><link>https://www.infopathdev.com:443/forums/thread/84312.aspx</link><pubDate>Fri, 09 Nov 2012 13:41:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84312</guid><dc:creator>yumyumbrandy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84312.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=84312</wfw:commentRss><description>&lt;p&gt;Hi Thanks for your response&lt;/p&gt;&lt;p&gt;How do I do this so the user only clicks one button&amp;nbsp; and the forms split off to different email adresses?&lt;/p&gt;&lt;p&gt;Do we need to use VB for this?&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: Submit button  Help</title><link>https://www.infopathdev.com:443/forums/thread/84310.aspx</link><pubDate>Fri, 09 Nov 2012 12:34:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84310</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84310.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=84310</wfw:commentRss><description>&lt;p&gt;Yes, this is possible. You&amp;#39;ll need two submit buttons, each with its own data connection to send email.&lt;/p&gt;&lt;p&gt;You would need a boolean field to toggle, and force the form (or the user) to choose between IT or payroll. Once that selection has been made you can use conditional formatting to hide the section that does not apply.&lt;/p&gt;&lt;p&gt;Hope this helps!&lt;/p&gt;</description></item><item><title>Submit button  Help</title><link>https://www.infopathdev.com:443/forums/thread/84303.aspx</link><pubDate>Fri, 09 Nov 2012 10:11:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84303</guid><dc:creator>yumyumbrandy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84303.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=84303</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I hope someone can help.&lt;/p&gt;&lt;p&gt;I have created a form in Infopath that has two sections, one is for IT and one for payroll. basically I need one submit button that will email one section to IT and the other section to Payroll.&lt;/p&gt;&lt;p&gt;Is this possible?&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;</description></item></channel></rss>