XPath does not pass brower compatibility checks in InfoPath 2007

Posted by drivendevelopment on Stack Overflow See other posts from Stack Overflow or by drivendevelopment
Published on 2010-04-05T20:11:12Z Indexed on 2010/04/05 20:13 UTC
Read the original article Hit count: 454

Why do the targetField attributes below fail the browser compatibility checker in InfoPath 2007. Is there another way to write the statement so that it will work on Browser Enabled forms?

<xsf:ruleSets>
     <xsf:ruleSet name="ruleSet_1">
          <xsf:rule caption="Rule 1" isEnabled="yes">
               <xsf:assignmentAction targetField="my:group1/my:group2[1]/my:field3" expression="my:field1"></xsf:assignmentAction>
          </xsf:rule>
          <xsf:rule caption="Rule 2" isEnabled="yes">
               <xsf:assignmentAction targetField="my:group1/my:group2[2]/my:field3" expression="my:field2"></xsf:assignmentAction>
          </xsf:rule>
     </xsf:ruleSet>
</xsf:ruleSets>

© Stack Overflow or respective owner

Related posts about infopath

Related posts about xpath