<?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: can browser-enabled form execute client-side code?</title><link>https://www.infopathdev.com:443/forums/thread/20663.aspx</link><pubDate>Tue, 12 Jun 2007 21:07:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20663</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20663.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=20663</wfw:commentRss><description>&lt;p&gt;The only way to write business logic for the browser-enabled forms is by doing it in .NET (it will get executed on the server). Forms developed this way will seamlessly work both in the Forms Server and the rich InfoPath client.&lt;/p&gt;&lt;p&gt;However, although there is no direct way to run Javascript from a browser-enabled form, you can host your form in a custom ASPX page and you can run your script there.&lt;/p&gt;&lt;p&gt;Note that interacting with the form in Javascript is not supported so your options of what you can do are pretty limited. Here is a blog post on hosting your form in a custom page:&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.msdn.com/infopath/archive/2006/10/21/hosting-infopath-forms-in-a-custom-aspx-page.aspx"&gt;http://blogs.msdn.com/infopath/archive/2006/10/21/hosting-infopath-forms-in-a-custom-aspx-page.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: can browser-enabled form execute client-side code?</title><link>https://www.infopathdev.com:443/forums/thread/20658.aspx</link><pubDate>Tue, 12 Jun 2007 19:26:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20658</guid><dc:creator>jdogan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20658.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=20658</wfw:commentRss><description>&lt;p&gt;Not that I&amp;#39;ve seen. There isn&amp;#39;t even an option for doing something as simple as displaying an alert box. In my experience, this is the biggest hole in the browser-enabled form approach. Maybe they&amp;#39;ll figure out a way in a future release?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Jason&lt;/p&gt;</description></item><item><title>can browser-enabled form execute client-side code?</title><link>https://www.infopathdev.com:443/forums/thread/20201.aspx</link><pubDate>Sun, 27 May 2007 11:39:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20201</guid><dc:creator>dmitry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20201.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=20201</wfw:commentRss><description>&lt;p&gt;hi&lt;/p&gt;&lt;p&gt;I need to&amp;nbsp;execute jscript code from browser-enabled form.&lt;/p&gt;&lt;p&gt;Can I do it?&lt;/p&gt;&lt;p&gt;thanks&lt;/p&gt;</description></item></channel></rss>