<?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: Use multiple data connections to submit a form to different locations depending on a multiple choice list</title><link>https://www.infopathdev.com:443/forums/thread/118739.aspx</link><pubDate>Tue, 10 Apr 2018 18:21:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118739</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118739.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=118739</wfw:commentRss><description>This is an action rule. So in the submit rules, add a new Action. Then you can add a condition. The first dropdown would be the field with your answer value. The second dropdown would be is equal to. The third dropdown, you&amp;#39;ll type text - and enter the text for the condition (like Amsterdam) - you don&amp;#39;t need to add quote marks, just type the text. Then add an action in your new rule - that action will be to Submit the form, and you can pick the data connection that submits to your Amsterdam folder. Does that make sense?</description></item><item><title>Re: Use multiple data connections to submit a form to different locations depending on a multiple choice list</title><link>https://www.infopathdev.com:443/forums/thread/118738.aspx</link><pubDate>Tue, 10 Apr 2018 18:05:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118738</guid><dc:creator>rudyy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118738.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=118738</wfw:commentRss><description>Hi Hilary,

Thank you for your fast reply. My problem is writing the rule or translating the rule into code. I&amp;#39;m an IT student and my study is Server/Network related so I&amp;#39;m not known with writing code.
Let&amp;#39;s say this is the path where the form has to go when the answer is &amp;#39;Amsterdam&amp;#39;:

https://mypage.sharepoint.com/_layouts/15/sharepoint.aspx/city/a/amsterdam/

And this is the part where I get stuck:

https://ibb.co/cGstPx

If there is 2 fields, the first field (field1) you enter the data (city) and the second field (field2) is the Submit button. I think I have to set the rule on field2 but from there I get stuck. Do I make a new &amp;#39;Validation&amp;#39; or a new &amp;#39;Action&amp;#39;? And after that I&amp;#39;m not sure if I have to write the rule down myself or use the boxes to choose from options like: lower then or higher then etc.

I&amp;#39;m sorry if I&amp;#39;m a bit confusing in my writing but I hope you can understand me.

Thank you for your help.</description></item><item><title>Re: Use multiple data connections to submit a form to different locations depending on a multiple choice list</title><link>https://www.infopathdev.com:443/forums/thread/118731.aspx</link><pubDate>Tue, 10 Apr 2018 14:54:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118731</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118731.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=118731</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi! You will end up having to create a LOT of data connections for this, and a LOT of rules. However, it can be done with data connections and rules (even if it may seem a little clunky). Under the Data tab in the ribbon, you&amp;#39;ll find the Submit Options. Set the Submit options to use rules (see screenshot). In the Submit Rules (this button can also be found under the Data tab), you&amp;#39;ll need to add rules for each submit. Each rule will have a condition that basically says &amp;quot;If the Answer is This Country, Submit using That Data Connection&amp;quot; - so if the Answer is Amsterdam, use the data connection that points to that folder.&lt;/p&gt;&lt;p&gt;This is basically the same thing as you&amp;#39;ve outlined - so I&amp;#39;m guessing&amp;nbsp;what you are having trouble&amp;nbsp;with is just the setting for submitting via rules, but let me know if&amp;nbsp;you have additional issues.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Use multiple data connections to submit a form to different locations depending on a multiple choice list</title><link>https://www.infopathdev.com:443/forums/thread/118729.aspx</link><pubDate>Tue, 10 Apr 2018 06:46:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118729</guid><dc:creator>rudyy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118729.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=118729</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello,&lt;/p&gt;&lt;p&gt;&amp;nbsp;First of all thank you for adding me to this forum. It looks pretty interesting since I have to work a lot with InfoPath for my internship.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;My question is kinda&amp;nbsp;the same as this post: &lt;a href="http://www.infopathdev.com/forums/p/21359/74009.aspx"&gt;http://www.infopathdev.com/forums/p/21359/74009.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;This is my problem:&lt;/p&gt;&lt;p&gt;&lt;em&gt;I&amp;#39;m creating a form and I&amp;#39;m trying to figure out how to resolve my problem. When people submit the form I want the form to be saved in subfolders depending on a answer in the form. This way we can categorise the forms submitted. &lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;Let&amp;#39;s say the form has 3 answers (it actually has around 60-70):&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;1. Amsterdam&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;2. Eindhoven&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;3. Den Bosch&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;The answer choosen is Amsterdam. When the form is submitted I want to have a rule that says the following:&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;If field1 = Amsterdam then submit form to /sharepoint/list/city/a/amsterdam/ &lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;If the answer is Eindhoven the rule has to be If field1 = Eindhoven then submit form to /sharepoint/list/city/e/Eindhoven/ etc. I think you get it.&lt;/em&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I think I have figured out how to set up multiple data connections but I don&amp;#39;t know how to&amp;nbsp;add rules or lines of codes to&amp;nbsp;make it work. If someone could explain it to me how to make this work in noob-friendly language I&amp;#39;ll probably be able to fix any other problem I run into myself.&lt;/p&gt;&lt;p&gt;Thanks for your time!&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>