<?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: Auto-generate ordered number list in text box</title><link>https://www.infopathdev.com:443/forums/thread/100023.aspx</link><pubDate>Wed, 12 Nov 2014 04:16:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100023</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100023.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=100023</wfw:commentRss><description>&lt;p&gt;This is pretty easy to do using the SharePoint list id and a double submit.&lt;/p&gt;&lt;p&gt;You will need the following:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Field in your main data source called &amp;quot;key&amp;quot; that is promoted &lt;/li&gt;&lt;li&gt;Submit data connection to your form library&lt;/li&gt;&lt;li&gt;Retrieve data connection to the same form library with the &amp;quot;key&amp;quot; column checked&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Add a&amp;nbsp;rule to do the following when a button is clicked (or some other event):&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Add an action that sets your &amp;quot;key&amp;quot; field using the function concat(now(),&amp;quot; - &amp;quot;,&amp;nbsp;userName()) &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Add a condition to only do this once if the field is blank&lt;/p&gt;&lt;p&gt;Add another rule to get the SharePoint ID:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Add an action that submits your form to your SharePoint library &lt;/li&gt;&lt;li&gt;Add an action that sets the &amp;quot;key&amp;quot; field under the Retrieve data connection&amp;#39;s query section&lt;/li&gt;&lt;li&gt;Add an action that queries the library&lt;/li&gt;&lt;li&gt;Add an action that sets the ID field based on the ID for the returned record.&lt;/li&gt;&lt;li&gt;Add an action that submits it to the SharePoint library again&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;There you have it.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Auto-generate ordered number list in text box</title><link>https://www.infopathdev.com:443/forums/thread/100016.aspx</link><pubDate>Tue, 11 Nov 2014 21:42:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100016</guid><dc:creator>CVoeller</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100016.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=100016</wfw:commentRss><description>I am brand new to InfoPath and am in need of some non-coding help. I have a previously created form in which my manager wants a number or code (ex: ODN-01) automatically generated in a text box in the form. The text box in question is only shown when a certain &amp;quot;work type&amp;quot; is selected from a previous drop down box. The Infopath form is then used in Sharepoint to be accessed by multiple users.</description></item></channel></rss>