<?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: XPath based default values and repeating sections</title><link>https://www.infopathdev.com:443/forums/thread/21213.aspx</link><pubDate>Mon, 25 Jun 2007 16:29:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21213</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21213.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21213</wfw:commentRss><description>&lt;p&gt;If that is the only remaining problem, you should just go into the Tools&amp;nbsp;| Default Values menu and tell the form to not have a default first row. Then the users will just have to insert the row, which should in theory solve your last issue.&lt;/p&gt;</description></item><item><title>Re: XPath based default values and repeating sections</title><link>https://www.infopathdev.com:443/forums/thread/21132.aspx</link><pubDate>Thu, 21 Jun 2007 17:47:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21132</guid><dc:creator>RLPopeIII</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21132.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21132</wfw:commentRss><description>&lt;p&gt;Greg,&lt;/p&gt;&lt;p&gt;Thank you for the explination.&amp;nbsp; I gives insight as to how InfoPath works, and you gave me an idea to use rules:&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have found a 90% workaround.&amp;nbsp;&amp;nbsp; A 3 section choice group is what determines which of the three sets of values should be used.&amp;nbsp; I have made a set of rules tied to the repeating group with conditions to test the presence of the choice sections.&amp;nbsp; This works except the first row would not be poplated (is this the same problem you had?).&lt;/p&gt;&lt;p&gt;Ren&lt;/p&gt;</description></item><item><title>Re: XPath based default values and repeating sections</title><link>https://www.infopathdev.com:443/forums/thread/21129.aspx</link><pubDate>Thu, 21 Jun 2007 16:40:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21129</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21129.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21129</wfw:commentRss><description>&lt;p&gt;I have confirmed your issue. Unfortunately this appears to be by-design for InfoPath. I believe it is a limitation of the way the inserting works by pulling unique fragments from the manifest.xsf file. Text values are simply embedded into the manifest fragment to be inserted, however, the expression is added as a default value formula for the field itself (not so with string values).&lt;/p&gt;&lt;p&gt;My gut instinct is that there is no direct workaround for this using the method you are using. I tried adding a rule to the field that is supplied the string value to set a different xpath expression based on the string, but inserting the new row didn&amp;#39;t automatically run the rules. Therefore this method doesn&amp;#39;t work.&lt;/p&gt;&lt;p&gt;However, you can probably use code to accomplish this. Code would be able to determine when a new row is inserted and do the right thing.&lt;/p&gt;&lt;p&gt;Good luck.&lt;/p&gt;</description></item><item><title>XPath based default values and repeating sections</title><link>https://www.infopathdev.com:443/forums/thread/21093.aspx</link><pubDate>Wed, 20 Jun 2007 20:02:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21093</guid><dc:creator>RLPopeIII</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21093.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=21093</wfw:commentRss><description>&lt;p&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;I have a form with a complex repeating section.&amp;nbsp; There are three sets of default values that the section can have.&amp;nbsp; I created three different sections in the data tab of the repeating section.&amp;nbsp; I modified the defaults for each section.&amp;nbsp; I noticed if the default was plain text, each section maintained its unique default.&amp;nbsp; If the default was based on an XPath expression to retrieve data from another field, the default would &amp;quot;bleed&amp;quot; over into the other sections.&amp;nbsp; This happened whether the &amp;quot;affect all&amp;quot; or &amp;quot;affect only this section&amp;quot; radio button was selected.&amp;nbsp; I made a simple test form and the same thing occurred.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;Is this a known issue or accepted limitation?&amp;nbsp; Most of the default values will be derived from other fields.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;&amp;nbsp;Help would be much appreciated (Last major issue on a year long project!)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;&amp;nbsp;Cheers,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;font-family:Arial;"&gt;&amp;nbsp;Ren&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>