<?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: specify email recipients based on what options are selected from a multiple list box</title><link>https://www.infopathdev.com:443/forums/thread/104516.aspx</link><pubDate>Thu, 29 Oct 2015 18:16:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104516</guid><dc:creator>rutica</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104516.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104516</wfw:commentRss><description>&lt;p&gt;Do you think I could use Workflows to accomplish this as well? I&amp;#39;m not familiar with Workflows... but could it let me set up emails that are sent depending on the choices selected? Then could I also track who the action is assigned to, create reports and&amp;nbsp;assign a status (open, closed, etc).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The InfoPath form I created is for users to request help with different categories. We want to track the&amp;nbsp;requests.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks!&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: specify email recipients based on what options are selected from a multiple list box</title><link>https://www.infopathdev.com:443/forums/thread/104352.aspx</link><pubDate>Wed, 14 Oct 2015 14:30:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104352</guid><dc:creator>rutica</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104352.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104352</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hilary: thank you so much. this works perfectly. you are so smart! :-)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: specify email recipients based on what options are selected from a multiple list box</title><link>https://www.infopathdev.com:443/forums/thread/104263.aspx</link><pubDate>Wed, 07 Oct 2015 21:19:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104263</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104263.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104263</wfw:commentRss><description>Rename your rules so they are easy to make sense of later. :-) A rule to set a field&amp;#39;s value will just set the value - so you are probably getting whatever rule runs last. You could always change the action, where you set a field&amp;#39;s value, to concat in the existing value - like set txtTo to concat(txtTo, &amp;quot;;Veronica@email.com&amp;quot;). Does that make sense?</description></item><item><title>Re: specify email recipients based on what options are selected from a multiple list box</title><link>https://www.infopathdev.com:443/forums/thread/104261.aspx</link><pubDate>Wed, 07 Oct 2015 20:23:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104261</guid><dc:creator>rutica</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104261.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104261</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I got a little further...&lt;/p&gt;&lt;p&gt;I went to Form Submit and added 6 new action rules (Rule 2 thru Rule 7) to run under&amp;nbsp;my existing Rule 1.&amp;nbsp; (I added 6 rules since I have 6 options for my multiple selection list box). I moved my Rule 1 (Email form)&amp;nbsp;to the bottom so it will trigger last.&lt;/p&gt;&lt;p&gt;Rule 2: For Condition, I put: &amp;#39;select a field or group&amp;#39; and found my mlstDocType. I said&amp;nbsp;&amp;#39;is equal to&amp;#39; and selected &amp;#39;type text&amp;#39; and typed &amp;quot;Fruit&amp;quot;. Under &amp;#39;run these actions&amp;#39; I choose &amp;#39;set a field&amp;#39;s value&amp;#39;.&amp;nbsp; For field, I entered txtTo. For Value, I put Fred@email.com;&lt;/p&gt;&lt;p&gt;Rule 3: For Condition, I put: &amp;#39;select a field or group&amp;#39; and found my mlstDocType. I said&amp;nbsp;&amp;#39;is equal to&amp;#39; and selected &amp;#39;type text&amp;#39; and typed &amp;quot;Veggies&amp;quot;. Under &amp;#39;run these actions&amp;#39; I choose &amp;#39;set a field&amp;#39;s value&amp;#39;.&amp;nbsp; For field, I entered txtTo. For Value, I put &lt;a href="mailto:Veronica@email.com"&gt;Veronica@email.com&lt;/a&gt;;&lt;/p&gt;&lt;p&gt;...and so on for my 6 options for my multiple selection list box.&lt;/p&gt;&lt;p&gt;&amp;nbsp;But it doesn&amp;#39;t concatenate my string in txtTo. For example, if I check both Fruit and Veggies, it only gives me &lt;a href="mailto:Veronica@email.com"&gt;Veronica@email.com&lt;/a&gt; (I want it to give me&amp;nbsp;both names:&amp;nbsp;&lt;a href="mailto:Fred@email.com"&gt;Fred@email.com&lt;/a&gt;; &lt;a href="mailto:Veronica@email.com"&gt;Veronica@email.com&lt;/a&gt;)&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks!&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: specify email recipients based on what options are selected from a multiple list box</title><link>https://www.infopathdev.com:443/forums/thread/104259.aspx</link><pubDate>Wed, 07 Oct 2015 18:11:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104259</guid><dc:creator>rutica</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104259.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104259</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hilary,&lt;/p&gt;&lt;p&gt;Thanks&amp;nbsp;so much for the quick reply. I&amp;#39;m&amp;nbsp;new to InfoPath so I&amp;#39;m still confused.&lt;/p&gt;&lt;p&gt;I have a multi selection list box called mlstDocType with a data type of Text (String). For list box choices, I selected &amp;#39;enter choices manually&amp;#39; and entered 6 choices.&lt;/p&gt;&lt;p&gt;I created a&amp;nbsp;submit button.&amp;nbsp;I click on the button and on the Data tab at the top&amp;nbsp;menu bar&amp;nbsp;go to&amp;nbsp;Submit Options... it&amp;nbsp;has&amp;nbsp;&amp;#39;perform custom action using rules&amp;#39;. I click Cancel. Then I click on Form Submit. I have an action&amp;nbsp;rule called Rule 1:&amp;nbsp;&amp;#39;Submit using a data connection&amp;#39;. The rule details is to send an email. &lt;/p&gt;&lt;p&gt;&amp;nbsp;Should I add rules to Rule 1? I see there is a rule called&amp;nbsp;&amp;#39;set a field&amp;#39;s&amp;nbsp;value&amp;#39;. &amp;nbsp;I chose Field: txtTo, but what do I put for Value? Do I write an If statement? Something like: If mlstDocType=&amp;quot;fruit&amp;quot;, then txtTo=&amp;quot;Fred&amp;quot;, if mlstDocType = &amp;quot;veggies&amp;quot;, then txtTo=&amp;quot;Veronica&amp;quot; , etc? &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks so much for your help!&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: specify email recipients based on what options are selected from a multiple list box</title><link>https://www.infopathdev.com:443/forums/thread/104258.aspx</link><pubDate>Wed, 07 Oct 2015 17:19:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104258</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104258.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104258</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You can just delete the text box control from the form view - the data will still be stored in the form&amp;#39;s data source. If you need multiple addresses, I think generally they are separated by semicolons.&lt;/p&gt;&lt;p&gt;As to setting the value of txtTo - usually I just handle that on my Submit rules - if some condition is met,&amp;nbsp;set txtTo&amp;nbsp;to&amp;nbsp;one value, if another condition is met, set it to some other value. For testing, put txtTo on your form so you can see what it is getting set to. :)&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: specify email recipients based on what options are selected from a multiple list box</title><link>https://www.infopathdev.com:443/forums/thread/104257.aspx</link><pubDate>Wed, 07 Oct 2015 17:00:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104257</guid><dc:creator>rutica</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104257.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104257</wfw:commentRss><description>&lt;p&gt;Hilary:&lt;/p&gt;&lt;p&gt;Thanks&amp;nbsp;so much for your&amp;nbsp;reply!&amp;nbsp;I think I understand everything you said but I&amp;#39;m not sure how to do step 2 (or 3):&lt;/p&gt;&lt;p&gt;1). in InfoPath Designer, create a&amp;nbsp;text box called txtTo&lt;/p&gt;&lt;p&gt;2). add rules to&amp;nbsp;set the new txtTo field to be the value I want (separated by commas?)&lt;/p&gt;&lt;p&gt;3). hide txtTo so it&amp;#39;s not visible on the form. (is invisibility a property available for a text box?)&lt;/p&gt;&lt;p&gt;4).&amp;nbsp;using the Data Connection Wizard, assign the txtTo field for the &amp;quot;To&amp;quot; field for the email.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks again!&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: specify email recipients based on what options are selected from a multiple list box</title><link>https://www.infopathdev.com:443/forums/thread/104021.aspx</link><pubDate>Thu, 17 Sep 2015 21:46:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104021</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104021.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104021</wfw:commentRss><description>Just add a field called &amp;quot;To&amp;quot; - it can be to your main data source or to a an XML secondary data source if you like. Then add rules to set that field - set up your Submit data connection to use the field for your &amp;quot;To&amp;quot; in the data connection (you can click the fx button and select the field). Hope that makes sense?</description></item><item><title>specify email recipients based on what options are selected from a multiple list box</title><link>https://www.infopathdev.com:443/forums/thread/104016.aspx</link><pubDate>Thu, 17 Sep 2015 20:07:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104016</guid><dc:creator>rutica</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104016.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104016</wfw:commentRss><description>&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;font face="Calibri" size="3"&gt;Hi,&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;I’m using Windows 7 and Internet Explorer 11 and InfoPath 2010.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;I have an InfoPath form in Sharepoint inside an InfoPath
Form Web part. The Info Path form contains a multiple selection list box. I
would like the form to be emailed to different people depending on what is
selected from the multiple selection list box.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;For example, let’s say my list box has choices of: fruit; veggies
and candy&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;If someone selects fruit and clicks Submit, the form will be
emailed to Fred. &lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;font face="Calibri" size="3"&gt;If someone selects veggies and clicks Submit, the form will
be emailed to Veronica. &lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;font face="Calibri" size="3"&gt;If someone selects candy and clicks Submit, the form will be
emailed to Cory. &lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;font face="Calibri" size="3"&gt;If someone selects fruit and veggies and clicks Submit, the
form will be emailed to Fred and Veronica.&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;font face="Calibri" size="3"&gt;If someone selects fruit and veggies and candy and clicks
Submit, the form will be emailed to Fred, Veronica and Cory.&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&lt;font face="Calibri" size="3"&gt;Etc.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;I know how to email the form to a generic mailbox, but how
do you specify recipients based on what options are selected from the multiple
list box? &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;"&gt;&lt;font face="Calibri" size="3"&gt;Thanks&lt;/font&gt;&lt;/p&gt;</description></item></channel></rss>