<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Save a form via Javascript</title><link>https://www.infopathdev.com:443/forums/thread/3343.aspx</link><pubDate>Mon, 23 Oct 2006 21:25:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3343</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3343.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3343</wfw:commentRss><description>Hello Eric,&lt;br /&gt;Rules run first and then Custom code.&lt;br /&gt;XDocument.Save();&lt;br /&gt;Saves the form, but saving form through code requires you to give full trust to the solution.</description></item><item><title>Save a form via Javascript</title><link>https://www.infopathdev.com:443/forums/thread/1620.aspx</link><pubDate>Mon, 23 Oct 2006 20:38:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1620</guid><dc:creator>Eric</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1620.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1620</wfw:commentRss><description>Hello,&lt;br /&gt;&lt;br /&gt;if you have both rules and conditions and custom code - does one always run before the other?&lt;br /&gt;&lt;br /&gt;also - can you save the form from javascript somehow as opposed to using rules and conditions?&lt;br /&gt;&lt;br /&gt;I need to run some custom code and then save the form when a user clicks a button.&lt;br /&gt;&lt;br /&gt;thanks,&lt;br /&gt;&lt;br /&gt;Eric&lt;br /&gt;</description></item></channel></rss>