<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Running code from a hyperlink</title><link>https://www.infopathdev.com:443/forums/thread/7209.aspx</link><pubDate>Mon, 18 Jul 2005 20:43:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7209</guid><dc:creator>gds140</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7209.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7209</wfw:commentRss><description>Thanks Agni, that should work fine.</description></item><item><title>Re: Running code from a hyperlink</title><link>https://www.infopathdev.com:443/forums/thread/7208.aspx</link><pubDate>Mon, 18 Jul 2005 19:30:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7208</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7208.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7208</wfw:commentRss><description>As far as I know we cannot write code for a hyperlink. &lt;br /&gt;When you add a Hyperlink to your InfoPath UI, &amp;lt;a&amp;gt; tag is added in the View.xsl file.&lt;br /&gt;for example when you add a hyperlink for hotmail the xsl that is created for that would be&lt;br /&gt;&amp;lt;a href="http://www.hotmail.com" xd:disableEditing="yes"&amp;gt;www.hotmail.com&amp;lt;/a&amp;gt;&lt;br /&gt;&lt;br /&gt;But one thing you can do is design your button in the form of a hyperlink, by removing background, underlining it, change color to blue. And you can have event for this button.&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPathDev India</description></item><item><title>Re: Running code from a hyperlink</title><link>https://www.infopathdev.com:443/forums/thread/7207.aspx</link><pubDate>Mon, 18 Jul 2005 18:14:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7207</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7207.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7207</wfw:commentRss><description>Yes. In the Designer, you can double click on the button control and choose Edit Form code. This will bring up the script editor. To add .NET code, you'll want to create a project in Visual Studio using the InfoPath template. This is covered in Chapter 2 of our book.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Running code from a hyperlink</title><link>https://www.infopathdev.com:443/forums/thread/4790.aspx</link><pubDate>Mon, 18 Jul 2005 15:41:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4790</guid><dc:creator>gds140</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4790.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4790</wfw:commentRss><description>I was wondering if you could set up a link in infopath to execute a block of code when it is clicked... I imagine there is a way but it doesn't seem intuitive. Anybody know?</description></item></channel></rss>