<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: User Created Field and XPath Issue(s)?</title><link>https://www.infopathdev.com:443/forums/thread/53148.aspx</link><pubDate>Fri, 26 Mar 2010 15:10:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53148</guid><dc:creator>cdavis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53148.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=53148</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Figured it out.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;It was a NULL error, but ended up being a Namespace issue. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>User Created Field and XPath Issue(s)?</title><link>https://www.infopathdev.com:443/forums/thread/53144.aspx</link><pubDate>Fri, 26 Mar 2010 14:24:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53144</guid><dc:creator>cdavis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53144.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=53144</wfw:commentRss><description>&lt;p&gt;I finally got my two forms working and the ability to pass data from form1 to form2.&amp;nbsp; Now I have another issue that I just can&amp;#39;t get my head around.&lt;/p&gt;&lt;p&gt;I am passing a field from form1 to form2 and displaying the data in a field.&amp;nbsp; This was just a testing phase as I was using a field in form2 that needs to be filled out.&lt;/p&gt;&lt;p&gt;Therefore, I created a field called roDesignNo.&amp;nbsp; I copied the XPath (/dfs:myFields/@my:roDesignNo) and plugged it into my JScript.&lt;/p&gt;&lt;p&gt;&lt;b&gt; var form2Field = objNewForm.DOM.selectSingleNode(&amp;quot;/dfs:myFields/@my:roDesignNo&amp;quot;);&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Unfortunately, this doesn&amp;#39;t work.&amp;nbsp; I get a NULL error.&amp;nbsp; However, if I pass the data into a field that is associated (created for me) with the database it works fine.&lt;/p&gt;&lt;p&gt;&lt;b&gt;var form2Field = objNewForm.DOM.selectSingleNode(&amp;quot;/dfs:myFields/dfs:dataFields/d:tblDetailsInfo/@ID&amp;quot;);&lt;/b&gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Can someone help me out and point me in the right direction?&amp;nbsp; Is it an XPath issue or something else.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Chris &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>