<?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: Different default Values for each row in a Repeating Table based on the formula</title><link>https://www.infopathdev.com:443/forums/thread/107549.aspx</link><pubDate>Tue, 26 Jul 2016 08:28:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107549</guid><dc:creator>Yugeswaran Vasudevon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107549.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=107549</wfw:commentRss><description>Hi Jimmy..
Can you please teach me how you set the default value for field 2? I&amp;#39;m a newbie to InfoPath and SharePoint.. Hope to hear from you soon.</description></item><item><title>Re: Different default Values for each row in a Repeating Table based on the formula</title><link>https://www.infopathdev.com:443/forums/thread/75896.aspx</link><pubDate>Wed, 29 Feb 2012 20:56:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75896</guid><dc:creator>alberta</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75896.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=75896</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;If the formula of the default values for each instance of the Repeating Table are the same, should not be a problem. Currently I am having problem where for different instance the default value formula need to be different. Seems InfoPath just cannot handle this, isn&amp;#39;t it?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Different default Values for each row in a Repeating Table based on the formula</title><link>https://www.infopathdev.com:443/forums/thread/49888.aspx</link><pubDate>Fri, 11 Dec 2009 20:17:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49888</guid><dc:creator>Karthik V Mainampati</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49888.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=49888</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Jimmy:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;&amp;nbsp;Please try the attached XSN.&amp;nbsp; No code needed.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Jimmy,&lt;/p&gt;
&lt;p&gt;You are the man!! It works like a charm! Thanks very much for your help!. I have another&amp;nbsp;column called &amp;quot;Score&amp;quot; in the repeating table, which would be &amp;quot;1&amp;quot; for &amp;quot;Yes&amp;quot;, &amp;quot;0&amp;quot; for &amp;quot;No&amp;quot; and blank for &amp;quot;N/A&amp;quot; for 98% of the questions that I have. But for the 2% of the questions, answering &amp;quot;Yes&amp;quot; for a question is supposed to populate a score of &amp;quot;2&amp;quot; for &amp;quot;Yes&amp;quot; instead of &amp;quot;1&amp;quot;.How would I go about accounting for these exceptions? Can I use the xml datasource for this as we are doing with the &amp;quot;Comment&amp;quot; column? If yes, can you please tell me how?&lt;/p&gt;
&lt;p&gt;Another question I have is that is there a way to enforce the relationship between the questions in the repeating table&amp;nbsp;meaning if a user answers a question &amp;quot;No&amp;quot;, the answers for the related questions should automatically be &amp;quot;N/A&amp;quot; and the user shouldn&amp;#39;t be allowed to change the answers (conditional formatting is also fine).&lt;/p&gt;
&lt;p&gt;Thanks again for your help!!&lt;/p&gt;</description></item><item><title>Re: Different default Values for each row in a Repeating Table based on the formula</title><link>https://www.infopathdev.com:443/forums/thread/49855.aspx</link><pubDate>Thu, 10 Dec 2009 16:05:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49855</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49855.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=49855</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Please try the attached XSN.&amp;nbsp; No code needed.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Different default Values for each row in a Repeating Table based on the formula</title><link>https://www.infopathdev.com:443/forums/thread/49850.aspx</link><pubDate>Thu, 10 Dec 2009 14:50:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49850</guid><dc:creator>Karthik V Mainampati</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49850.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=49850</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Jimmy:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;&amp;nbsp;It sounds like you can store the various comments in a secondary data source, and then use a formula that incorporates the user&amp;#39;s answer to retrieve the right one from that secondary source.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Hi Jimmy,&lt;/p&gt;
&lt;p&gt;Thanks for your reply.I was trying to do this using a repeating table. Since I can&amp;#39;t use a different default value using a formula&amp;nbsp;for different rows in a repeating table,&amp;nbsp; I think this approach will not work. I know that I can use a layout table instead and place some controls. But I would end up using too many controls (3 times the number of questions) instead of 3 controls. This approach would also be very cumbersome. I would appreciate if you have any other ideas.&lt;/p&gt;</description></item><item><title>Re: Different default Values for each row in a Repeating Table based on the formula</title><link>https://www.infopathdev.com:443/forums/thread/49849.aspx</link><pubDate>Thu, 10 Dec 2009 14:39:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49849</guid><dc:creator>Karthik V Mainampati</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49849.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=49849</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Qazi Anis:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;you cant set different default value to different rows of a repeating table using UI, you will have to do a little bit of coding for that.&lt;/p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp; 
&lt;p&gt;Hi Qazi,&lt;/p&gt;
&lt;p&gt;Thanks a bunch for your reply. I am a novice programmer and I haven&amp;#39;t done any programming in InfoPath yet. Would you please walk me through how to do it in coding? I would appreciate your help.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Different default Values for each row in a Repeating Table based on the formula</title><link>https://www.infopathdev.com:443/forums/thread/49841.aspx</link><pubDate>Thu, 10 Dec 2009 07:38:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49841</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49841.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=49841</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;It sounds like you can store the various comments in a secondary data source, and then use a formula that incorporates the user&amp;#39;s answer to retrieve the right one from that secondary source.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Different default Values for each row in a Repeating Table based on the formula</title><link>https://www.infopathdev.com:443/forums/thread/49838.aspx</link><pubDate>Thu, 10 Dec 2009 06:04:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49838</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49838.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=49838</wfw:commentRss><description>&lt;p&gt;you cant set different default value to different rows of a repeating table using UI, you will have to do a little bit of coding for that.&lt;/p&gt;</description></item><item><title>Different default Values for each row in a Repeating Table based on the formula</title><link>https://www.infopathdev.com:443/forums/thread/49807.aspx</link><pubDate>Tue, 08 Dec 2009 23:23:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49807</guid><dc:creator>Karthik V Mainampati</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49807.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=49807</wfw:commentRss><description>&lt;p&gt;I am a newbie in SharePoint and I was just wondering if you could help me on the following question.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have put together an InfoPath form to record the surveys for one of our business processes. I have a repeating table which has the following 5 columns. &lt;br /&gt;1. Question &lt;br /&gt;2. Yes &lt;br /&gt;3. No &lt;br /&gt;4. N/a &lt;br /&gt;5. Comment &lt;br /&gt;I have also added 5 more rows to the repeating table by going to &lt;br /&gt;Tools--&amp;gt;Default Values, to accomodate more questions. I was able to specify &lt;br /&gt;the default values for each &amp;quot;question&amp;quot; field (text) by typing in some text. I &lt;br /&gt;also wanted to specify a conditional default value (using a formula) for &lt;br /&gt;&amp;quot;Comment&amp;quot; field in each row. But it seems that we can&amp;#39;t specify a different &lt;br /&gt;formula derived default value for different rows in the repeating table. If I &lt;br /&gt;set the default value of &amp;quot;Comment&amp;quot; field in first row using a formula, the &lt;br /&gt;same formula is being applied to the &amp;quot;Comment&amp;quot; field in the rest of the rows.&amp;nbsp;I need to have the text populated in the &amp;quot;comments&amp;quot; field&amp;nbsp;automatically based on the answer the user chooses. The problem is that the possible set of comments is not the same for each question.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have been struggling with this problem for the past one week. I would &lt;br /&gt;greatly appreciate it you could help. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>