<?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: Infopath/Sharepoint Increment based off of different selections</title><link>https://www.infopathdev.com:443/forums/thread/96394.aspx</link><pubDate>Tue, 11 Mar 2014 14:15:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96394</guid><dc:creator>Jamie1234</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96394.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=96394</wfw:commentRss><description>&lt;p&gt;I am trying to create an Infotpath form that is submitted to sharepoint and I have it working but not the way I would like it to work. Any help&amp;nbsp;with much needed detail would be greatly appreciated due to the fact I am still a &amp;quot;newbie&amp;quot;.&lt;/p&gt;
&lt;p&gt;I have two fields one called Ref Number which is a read only text box to the users&amp;nbsp;and another field called Own Info which a Drop-Down list. Bascially I would like it to where when the user&amp;nbsp;clicks the&amp;nbsp;submit buttom&amp;nbsp;the Ref Number will get incremented. I have the form incrementing with leading zeros but everytime the submit button is clicked and I would like it to be determined by the Own Info and not like this : concat(Own_Info , &amp;quot;-&amp;quot;, substring(&amp;quot;000&amp;quot;, 1, 4 - string-length(max(ID) + 1)), max(ID) + 1).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Example :&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;&amp;nbsp;Own Info&amp;nbsp; : D652&lt;/div&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Ref Number : D652-0001&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;li&gt;
&lt;div&gt;&amp;nbsp;Own Info&amp;nbsp; : D652&lt;/div&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Ref Number: D652-0002&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;li&gt;
&lt;div&gt;Own Info&amp;nbsp;&amp;nbsp;: D653&lt;/div&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Ref Number : D653-0001&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;li&gt;
&lt;div&gt;Own Info&amp;nbsp; : D653&lt;/div&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Ref Number : D653-0002&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;li&gt;
&lt;div&gt;Own Info&amp;nbsp; : D652&lt;/div&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Ref Number : D652-0003&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;
&lt;p&gt;So the Ref Number increments based off of the Own Info&amp;nbsp;which will be about 25 different options. Again any help with much needed detail would be greatly appreciated. Thanks in advance!!!!&lt;/p&gt;</description></item><item><title>Infopath/Sharepoint Increment based off of different selections</title><link>https://www.infopathdev.com:443/forums/thread/96383.aspx</link><pubDate>Mon, 10 Mar 2014 19:57:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96383</guid><dc:creator>Jamie1234</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96383.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=96383</wfw:commentRss><description>&lt;p&gt;I am trying to create an Infotpath form that is submitted to sharepoint and I have it working but not the way I would like it to work. Any help&amp;nbsp;with much needed detail would be greatly appreciated due to the fact I am still a &amp;quot;newbie&amp;quot;.&lt;/p&gt;
&lt;p&gt;I have two fields one called Ref Number which is a read only text box to the users&amp;nbsp;and another field called Own Info which a Drop-Down list. Bascially I would like it to where when the user&amp;nbsp;clicks the&amp;nbsp;submit buttom&amp;nbsp;the Ref Number will get incremented. I have the form incrementing with leading zeros but everytime the submit button is clicked and I would like it to be determined by the Own Info and not like this : concat(Own_Info , &amp;quot;-&amp;quot;, substring(&amp;quot;000&amp;quot;, 1, 4 - string-length(max(ID) + 1)), max(ID) + 1).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Example :&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;&amp;nbsp;Own Info&amp;nbsp; : D652&lt;/div&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Ref Number : D652-0001&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;li&gt;
&lt;div&gt;&amp;nbsp;Own Info&amp;nbsp; : D652&lt;/div&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Ref Number: D652-0002&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;li&gt;
&lt;div&gt;Own Info&amp;nbsp;&amp;nbsp;: D653&lt;/div&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Ref Number : D653-0001&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;li&gt;
&lt;div&gt;Own Info&amp;nbsp; : D653&lt;/div&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Ref Number : D653-0002&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;li&gt;
&lt;div&gt;Own Info&amp;nbsp; : D652&lt;/div&gt;&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Ref Number : D652-0003&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;
&lt;p&gt;So the Ref Number increments based off of the Own Info&amp;nbsp;which will be about 25 different options. Again any help with much needed detail would be greatly appreciated. Thanks in advance!!!!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>