<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: XmlFormView data validation while executing save with JavaScript</title><link>https://www.infopathdev.com:443/forums/thread/36633.aspx</link><pubDate>Tue, 06 Jan 2009 14:36:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36633</guid><dc:creator>Zeppelin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36633.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=36633</wfw:commentRss><description>Doesn&amp;#39;t look like it.

I registered the namespace at the top of the aspx page.  But that didn&amp;#39;t do anything different. Maybe I did it differently and incorrectly.

Do you know of some examples I can view? Links?

Thanks for the help!</description></item><item><title>Re: XmlFormView data validation while executing save with JavaScript</title><link>https://www.infopathdev.com:443/forums/thread/36629.aspx</link><pubDate>Tue, 06 Jan 2009 14:03:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36629</guid><dc:creator>madhuri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36629.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=36629</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;Can you check once the&amp;nbsp;&amp;#39;&lt;font size="2"&gt;Microsoft.Office.Interop.InfoPath.SemiTrust&amp;#39; namespace is added or not?&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: XmlFormView data validation while executing save with JavaScript</title><link>https://www.infopathdev.com:443/forums/thread/36626.aspx</link><pubDate>Tue, 06 Jan 2009 13:48:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36626</guid><dc:creator>Zeppelin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36626.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=36626</wfw:commentRss><description>Hello,

I have the following:

 var XDocument = null;
        XDocument = window.external.Window.XDocument;

With this code, I get the message that window.external.Window.XDocument is null or not an object</description></item><item><title>Re: XmlFormView data validation while executing save with JavaScript</title><link>https://www.infopathdev.com:443/forums/thread/36625.aspx</link><pubDate>Tue, 06 Jan 2009 13:40:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36625</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36625.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=36625</wfw:commentRss><description>&lt;pre&gt;Hi,&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;Are you using &lt;/pre&gt;&lt;pre&gt;var thisXDocument = null;&lt;/pre&gt;&lt;pre&gt;thisXDocument = window.external.Window.XDocument;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: XmlFormView data validation while executing save with JavaScript</title><link>https://www.infopathdev.com:443/forums/thread/36624.aspx</link><pubDate>Tue, 06 Jan 2009 13:31:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36624</guid><dc:creator>Zeppelin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36624.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=36624</wfw:commentRss><description>thisXDocument turns out to be undefined.</description></item><item><title>Re: XmlFormView data validation while executing save with JavaScript</title><link>https://www.infopathdev.com:443/forums/thread/36622.aspx</link><pubDate>Tue, 06 Jan 2009 13:26:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36622</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36622.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=36622</wfw:commentRss><description>&lt;pre&gt;Hi,&lt;/pre&gt;&lt;pre&gt;Verify thisXDocument is null or not. If that is null then you will get the above mentioned error.&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: XmlFormView data validation while executing save with JavaScript</title><link>https://www.infopathdev.com:443/forums/thread/36621.aspx</link><pubDate>Tue, 06 Jan 2009 13:15:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36621</guid><dc:creator>Zeppelin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36621.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=36621</wfw:commentRss><description>window.external.Window.XDocument gave me a null error, so I changed it to thisXDocument = window.external.XDocument. Next, I get an error that Errors is null or not an object.

Any thoughts on the Errors collection being null?</description></item><item><title>Re: XmlFormView data validation while executing save with JavaScript</title><link>https://www.infopathdev.com:443/forums/thread/36600.aspx</link><pubDate>Tue, 06 Jan 2009 05:44:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36600</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36600.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=36600</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Add the following code lines to verify the errors.&lt;/p&gt;
&lt;p&gt;var thisXDocument = null;&lt;/p&gt;
&lt;p&gt;thisXDocument = window.external.Window.XDocument;&lt;/p&gt;
&lt;p&gt;if (thisXDocument.Errors.Count &amp;gt; 0)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;alert(&amp;quot;Please fill the required fields.&amp;quot;);&lt;/p&gt;
&lt;p&gt;return;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;Else&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;Write your code here&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>XmlFormView data validation while executing save with JavaScript</title><link>https://www.infopathdev.com:443/forums/thread/36589.aspx</link><pubDate>Mon, 05 Jan 2009 19:40:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36589</guid><dc:creator>Zeppelin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36589.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=36589</wfw:commentRss><description>Hello,

I have a custom web page with the XmlFormView control embedded and setup just fine. Everything works well.  The problem I&amp;#39;m coming across is when I use the Toolbar.ExecuteAction(&amp;#39;save&amp;#39;, event) through javascript when the form is unloaded.  When this is called, the form saves but saves even when there are data validation errors.  Basically, it&amp;#39;s not acting as though the user clicked the save/submit button on the InfoPath toolbar.  Where, if there are errors, the user will get a popup message stating the problem.

Any thoughts on this? Is there a way or object within XmlForm to look at in order to see the errors via javascript?

Thanks.</description></item></channel></rss>