<?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: Help with preceding-sibling</title><link>https://www.infopathdev.com:443/forums/thread/79517.aspx</link><pubDate>Thu, 14 Jun 2012 20:28:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79517</guid><dc:creator>robwett</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79517.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=79517</wfw:commentRss><description>Thanks for the reply Jimmy, I was able to get it to work using your expression as well but now I have another issue that I am trying to overcome.&lt;br /&gt;&lt;br /&gt;

Here are the conditions for the rule I&amp;#39;m trying:

preceding-sibling::my:Table/my:SaveForm = &amp;quot;true&amp;quot;&lt;br /&gt;AND&lt;br /&gt;preceding-sibling::my:Table/my:RowGuid = my:RowGuid&lt;br /&gt;&lt;br /&gt;

The action of the rule is to set the &amp;quot;SaveForm&amp;quot; field to &amp;quot;true&amp;quot;, and this rule is set on the &amp;quot;RowGuid&amp;quot; field. &lt;br /&gt;&lt;br /&gt;

Basically there is a 1-Many relationship between infopath table rows and line items, and when the user enters in a value in one of the rows I need all other rows belonging to that line-item to have their &amp;quot;SaveForm&amp;quot; field set to true. &lt;br /&gt;&lt;br /&gt;

Thanks for the help!</description></item><item><title>Re: Help with preceding-sibling</title><link>https://www.infopathdev.com:443/forums/thread/79480.aspx</link><pubDate>Thu, 14 Jun 2012 07:49:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79480</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79480.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=79480</wfw:commentRss><description>&lt;p&gt;I can get it to work by using the following conditions:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;preceding-sibling::my:Table/my:field1 = &amp;quot;&amp;quot;&lt;/p&gt;&lt;p&gt;AND&lt;/p&gt;&lt;p&gt;preceding-sibling::my:Table/my:UniqueRowGuid = my:UniqueRowGuid&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;But I&amp;#39;m not quite sure what you&amp;#39;re trying to accomplish and therefore whether this is the correct way to go about it.&lt;/p&gt;</description></item><item><title>Help with preceding-sibling</title><link>https://www.infopathdev.com:443/forums/thread/79477.aspx</link><pubDate>Thu, 14 Jun 2012 04:42:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79477</guid><dc:creator>robwett</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79477.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=79477</wfw:commentRss><description>In the attached form I have a couple formatting rules I&amp;#39;m trying to apply based on the preceding-sibling value. It looks like it should work but it&amp;#39;s not.&lt;br /&gt;
&lt;br /&gt;
The conditions I&amp;#39;m trying to apply are:&lt;br /&gt;

preceding-sibling::my:field1 = &amp;quot;&amp;quot; &lt;br /&gt;
AND&lt;br /&gt;
preceding-sibling::my:UniqueRowGuid = my:UniqueRowGuid.&lt;br /&gt;
&lt;br /&gt;
 I tried it with preceding-sibling::my:UniqueRowGuid = current()/UniqueRowGuid and got the same results.&lt;br /&gt;&lt;br /&gt; 

 Any help I can get on why these rules aren&amp;#39;t running correctly would be much appreciated. 

Thanks in advance 

-robwett</description></item></channel></rss>