<?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: Autofill text box based on results in a repeating table field</title><link>https://www.infopathdev.com:443/forums/thread/58741.aspx</link><pubDate>Tue, 07 Sep 2010 01:41:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58741</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58741.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=58741</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi, I convert it to j-Script:&lt;/p&gt;&lt;p&gt;var value = XDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:r&amp;quot;).xml
&lt;/p&gt;&lt;p&gt;             if(value.indexOf(&amp;quot;Bronze&amp;quot;)!=-1)
&lt;/p&gt;&lt;p&gt;                XDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:t/my:t2&amp;quot;).text=&amp;quot;Low&amp;quot;;
&lt;/p&gt;&lt;p&gt;            if(value.indexOf(&amp;quot;Silver&amp;quot;)!=-1)
&lt;/p&gt;&lt;p&gt;                XDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:t/my:t2&amp;quot;).text=&amp;quot;Normal&amp;quot;;&lt;/p&gt;&lt;p&gt;
            if(value.indexOf(&amp;quot;Gold&amp;quot;)!=-1)
                &lt;/p&gt;&lt;p&gt;XDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:t/my:t2&amp;quot;).text = &amp;quot;High&amp;quot;; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Autofill text box based on results in a repeating table field</title><link>https://www.infopathdev.com:443/forums/thread/58739.aspx</link><pubDate>Tue, 07 Sep 2010 00:21:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58739</guid><dc:creator>Grinch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58739.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=58739</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;C# is not an option, only VBScript and JScript are showing.&lt;/p&gt;
&lt;p&gt;Do I need to install someting on my PC?&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;Anthony&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Autofill text box based on results in a repeating table field</title><link>https://www.infopathdev.com:443/forums/thread/58720.aspx</link><pubDate>Mon, 06 Sep 2010 13:32:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58720</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58720.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=58720</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Anthony, I suggest you to use C#&amp;nbsp; 2003 on &amp;quot;form option&amp;quot; go to &amp;quot;programming&amp;quot; and select C# (compatible 2003). After that you have to add an event handler on the parent node&amp;nbsp; of your repeating node in my template it&amp;#39;s&amp;quot;my:r&amp;quot;(right click on the field on the main data source, select &amp;quot;programming&amp;quot; and On after change event).It&amp;#39;s imprtant to use the parent and not the repeating table itself because the delete event will be fired on the parent and not on the repeating table.&lt;/p&gt;&lt;p&gt;you can use this code:&lt;/p&gt;&lt;p&gt;string value = thisXDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:r&amp;quot;).xml;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(value.Contains(&amp;quot;Bronze&amp;quot;))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; thisXDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:t/my:t2&amp;quot;).text=&amp;quot;Low&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(value.Contains(&amp;quot;Silver&amp;quot;))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; thisXDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:t/my:t2&amp;quot;).text=&amp;quot;Normal&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(value.Contains(&amp;quot;Gold&amp;quot;))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; thisXDocument.DOM.selectSingleNode(&amp;quot;c&amp;quot;).text = &amp;quot;High&amp;quot;; &lt;/p&gt;&lt;p&gt;&amp;nbsp;You have to replace &amp;quot;/my:myFields/my:r&amp;quot; by your repeating table Xpath (To copy Xpath you can make a right click on your field and select &amp;quot;copy xpath&amp;quot;)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;and &amp;quot;/my:myFields/my:r&amp;quot; by your other field Xpath&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Autofill text box based on results in a repeating table field</title><link>https://www.infopathdev.com:443/forums/thread/58703.aspx</link><pubDate>Mon, 06 Sep 2010 02:05:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58703</guid><dc:creator>Grinch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58703.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=58703</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I would appreciate some help as I do not know how to do code. I am using Infopath 2003&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;Anthony&lt;/p&gt;</description></item><item><title>Re: Autofill text box based on results in a repeating table field</title><link>https://www.infopathdev.com:443/forums/thread/58698.aspx</link><pubDate>Sun, 05 Sep 2010 12:24:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58698</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58698.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=58698</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Anthony, it seems that rules doesn&amp;#39;t apply if we delete/add a new row. I think you need to add some codes. Just ask me if you need some help.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Autofill text box based on results in a repeating table field</title><link>https://www.infopathdev.com:443/forums/thread/58514.aspx</link><pubDate>Wed, 01 Sep 2010 04:48:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58514</guid><dc:creator>Grinch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58514.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=58514</wfw:commentRss><description>&lt;p&gt;Hi I got it working, I found someone with a later version of Infopath and applied the rules as you put them in your example.&lt;/p&gt;
&lt;p&gt;THANKYOU&lt;/p&gt;
&lt;p&gt;I have a further question - If someone was to delete a row how can I refresh the Textbox so it looks at the values left rather than what was initially set.&lt;/p&gt;
&lt;p&gt;At the moment if I was to have a High entry then I remove the row with that system it does not adjust the textbox.&lt;/p&gt;
&lt;p&gt;thanks again&lt;/p&gt;
&lt;p&gt;Anthony&lt;/p&gt;</description></item><item><title>Re: Autofill text box based on results in a repeating table field</title><link>https://www.infopathdev.com:443/forums/thread/58482.aspx</link><pubDate>Tue, 31 Aug 2010 04:10:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58482</guid><dc:creator>Grinch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58482.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=58482</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Sorry to be a pain, are you able to save it as Infopath 2003&lt;/p&gt;
&lt;p&gt;many thanks&lt;/p&gt;
&lt;p&gt;Anthony&lt;/p&gt;</description></item><item><title>Re: Autofill text box based on results in a repeating table field</title><link>https://www.infopathdev.com:443/forums/thread/58480.aspx</link><pubDate>Tue, 31 Aug 2010 01:43:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58480</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58480.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=58480</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Ok, I attach an example, it can help you to design your form.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Autofill text box based on results in a repeating table field</title><link>https://www.infopathdev.com:443/forums/thread/58479.aspx</link><pubDate>Tue, 31 Aug 2010 00:45:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58479</guid><dc:creator>Grinch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58479.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=58479</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the prompt reply. I am not sure I understand what to do, are you able to provide an example.&lt;/p&gt;
&lt;p&gt;The drop down list box is within a group by default&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Top Group = Required_Approvers, then there is another group sitting under the first group = Approvers.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Then there are 3 fields within the second group. I pull information into these fields from a Sharpoint list using a data connection&lt;/p&gt;
&lt;p&gt;1st = system (dropdown list)&lt;/p&gt;
&lt;p&gt;2nd = approver (read only textbox)&lt;/p&gt;
&lt;p&gt;3rd = critical (read only textbox)&lt;/p&gt;
&lt;p&gt;Elsewhere on the form (outside this group) I have a read only textbox called system_importance.&lt;/p&gt;
&lt;p&gt;I want to look through the rows in &amp;quot;critical&amp;quot; and the highest value present such as Gold, or Silver, or Bronze (no matter on which row) gets translated to High, Medium, or Low in system_importance.&lt;/p&gt;
&lt;p&gt;I can get it to work by adding rules in the &amp;quot;critical&amp;quot; field but when ever I add a row it only looks at the new row and puts the value in for that row. There isn&amp;#39;t any logic to compare the rows and see what the highest value is.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Sorry if I am not clear as I am not used to any of this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;thanks again&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Anthony&lt;/p&gt;</description></item><item><title>Re: Autofill text box based on results in a repeating table field</title><link>https://www.infopathdev.com:443/forums/thread/58462.aspx</link><pubDate>Mon, 30 Aug 2010 15:09:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58462</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58462.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=58462</wfw:commentRss><description>&lt;p&gt;Hi Anthony, a way to do that without code is to add&amp;nbsp;rules based on the parent group of your drop down field. You can create a new group and move your repeating field in it, if it&amp;#39;s not already here. You set a condition to your first rule like: if (ParentOfField1) contain Copper, set a field value to field 3 &amp;quot;normal&amp;quot;,&amp;nbsp; you add another rule for silver, gold, etc....&amp;nbsp;&lt;/p&gt;</description></item><item><title>Autofill text box based on results in a repeating table field</title><link>https://www.infopathdev.com:443/forums/thread/58445.aspx</link><pubDate>Mon, 30 Aug 2010 05:26:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58445</guid><dc:creator>Grinch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58445.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=58445</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;am new to Infopath and am not a programmer, we are using Infopath 2003 and I have created a change management form for our company to use.&lt;/p&gt;
&lt;p&gt;I am struggling with populating a textbox which is outside the repeating table with the results from the third field within the repeating table.&lt;/p&gt;
&lt;p&gt;I have a drop down list box and 2 text fields within the repeating table which gets its data from a secondary source (sharepoint list).&lt;/p&gt;
&lt;p&gt;The third field populates with either gold, silver, or bronze dependant on what is selected from the drop down list.&lt;/p&gt;
&lt;p&gt;I want to check each row where the field containing gold, silver, or bronze is and if there is a gold within any row, set the text box to &amp;quot;High&amp;quot;, if the highest is silver then set it to &amp;quot;Medium&amp;quot;, etc.&lt;/p&gt;
&lt;p&gt;Is there any way to do this, if possible without code. If not I will give code a go?&lt;/p&gt;
&lt;p&gt;thanks for your help&lt;/p&gt;
&lt;p&gt;Anthony&lt;/p&gt;</description></item></channel></rss>