<?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: Close the form and link to a (sharepoint) website</title><link>https://www.infopathdev.com:443/forums/thread/27366.aspx</link><pubDate>Fri, 21 Mar 2008 08:07:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27366</guid><dc:creator>jasper</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27366.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=27366</wfw:commentRss><description>&lt;p&gt;Thanks for the relpy Greg. I know you can write code in the button for the submit option but i have no idea what the code is, so if anyone can help me writing C# code then i would be really gratefull!! :)&lt;/p&gt;</description></item><item><title>Re: Close the form and link to a (sharepoint) website</title><link>https://www.infopathdev.com:443/forums/thread/27353.aspx</link><pubDate>Thu, 20 Mar 2008 17:03:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27353</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27353.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=27353</wfw:commentRss><description>&lt;p&gt;You can set up a rule on the button to close the form. However, launching a web page is not supported via rules. You can probably do this in code, or if you put the button in the task pane, you can definitely do this.&lt;/p&gt;</description></item><item><title>Close the form and link to a (sharepoint) website</title><link>https://www.infopathdev.com:443/forums/thread/27309.aspx</link><pubDate>Wed, 19 Mar 2008 13:32:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27309</guid><dc:creator>jasper</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27309.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=27309</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I have a question and i really hope that someone can help me.&lt;/p&gt;
&lt;p&gt;I have a button in my form and i want to program the button so that if someone clicks the button that the form is going to close and that the user is being redirected to a (sharepoint) website.&lt;/p&gt;
&lt;p&gt;Is that possible at all?&lt;br /&gt;&lt;br /&gt;Thanks in advance!&lt;/p&gt;</description></item></channel></rss>