<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Default Value Formula Help</title><link>https://www.infopathdev.com:443/forums/thread/56985.aspx</link><pubDate>Thu, 15 Jul 2010 17:14:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56985</guid><dc:creator>fcsech</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56985.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=56985</wfw:commentRss><description>Works great Jimmy! Appreciate the help&lt;br /&gt;</description></item><item><title>Re: Default Value Formula Help</title><link>https://www.infopathdev.com:443/forums/thread/56983.aspx</link><pubDate>Thu, 15 Jul 2010 17:04:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56983</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56983.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=56983</wfw:commentRss><description>&lt;p&gt;You&amp;#39;re not indicating the field in your substring statements, and they need to be nested in order to do what you want:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;substring-before(substring-after(&lt;strong&gt;&lt;u&gt;field&lt;/u&gt;&lt;/strong&gt;, &amp;#39;(&amp;#39;), &amp;#39;)&amp;#39;)&lt;/p&gt;</description></item><item><title>Default Value Formula Help</title><link>https://www.infopathdev.com:443/forums/thread/56977.aspx</link><pubDate>Thu, 15 Jul 2010 15:58:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56977</guid><dc:creator>fcsech</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56977.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=56977</wfw:commentRss><description>&lt;p&gt;Hi guys, hope you can help. I&amp;#39;m working on a form and I am having trouble coming up with a formula for a default value for one of my fields. What I want the formula to do is only capture a few values/characters based on their position. For example, I want the formula to only capture &amp;quot;4.0&amp;quot; in the following text &amp;quot;EDAM Residents - 8 hours (4.0 cr)&amp;quot;, and only &amp;quot;2.0&amp;quot; in &amp;quot;PALS - whole day (2.0 cr&amp;quot;). I&amp;#39;ve tried the substring function but I need it to start counting from the end becuase every selection is formatted(same # of spaces) at the end and not every instance is the same # of characters. I tried this &lt;i&gt;concat(substring-after(&amp;quot;(&amp;quot;), substring-before(&amp;quot;)&amp;quot;)&lt;/i&gt; but got: &lt;/p&gt;&lt;p&gt;Expected value type: ,&lt;br /&gt;&lt;br /&gt;Actual value: end-of-string&lt;br /&gt;concat(substring-after(&amp;quot;(&amp;quot;), substring-before(&amp;quot;)&amp;quot;)&amp;lt;--&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;-Frank &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>