<?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>Using Calculated Column to Redirect Users after Closing InfoPath Form</title><link>https://www.infopathdev.com:443/forums/thread/116387.aspx</link><pubDate>Sat, 27 May 2017 00:25:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:116387</guid><dc:creator>Sonia316</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/116387.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=116387</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have TWO URLs I created in lists so users can start actions from a dashboard - that opens the InfoPath forms, however, when they close - they go back to the lists and not the dashboard.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have used the &amp;amp;Source item before on a button to open form but never a calculated column.&lt;/p&gt;&lt;p&gt;Link one -&amp;nbsp;&amp;nbsp; =&amp;quot;&amp;lt;a href=&amp;#39;https://navsea.navy.deps.mil/hq/10a/cois/classreg2/Lists/Registrations/EditForm.aspx?ID=&amp;quot;&amp;amp;StaticID&amp;amp;&amp;quot;&amp;amp;Source=https://navsea.navy.deps.mil/hq/10a/cois/classreg2/SitePages/Home.aspx&amp;#39; style=&amp;#39;color:red&amp;#39;&amp;gt;UnRegister&amp;lt;/a&amp;gt;&amp;quot;&lt;br /&gt;This one is working.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Link two -&amp;nbsp;&amp;nbsp; =IF(Closed=TRUE,&amp;quot;Closed for registration&amp;quot;,IF(RemainingSeats&amp;gt;0,&amp;quot;&amp;lt;a href=&amp;#39;https://navsea.navy.deps.mil/hq/10a/cois/classreg2/Lists/Registrations/Item/newifs.aspx?List=13203472%2D6849%2D4887%2D92cc%2D315fe1485564&amp;amp;RootFolder=&amp;amp;Web=50d1f362%2D2d21%2D4982%2D8336%2D9e288a8c873d&amp;amp;meeting_id=&amp;quot;&amp;amp;StaticID&amp;amp;&amp;quot;&amp;#39; onclick=&amp;#39;OpenLandLRegistration(&amp;quot;&amp;amp;StaticID&amp;amp;&amp;quot;)&amp;#39;&amp;gt;Register&amp;lt;/a&amp;gt;&amp;quot;,&amp;quot;Class is Full&amp;quot;))&lt;/p&gt;&lt;p&gt;I attempted the same thing with this one and it broke. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;ve attempted to add the &amp;amp;Source URL but I am either putting it in the wrong place or its not doable - the second item is breaking or are not opening to the edit form that I want it to.&lt;/p&gt;&lt;p&gt;Any help on WHERE it should go would be appreciated...thank you in advance.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I also tried adding this script to a script editor webpart and it didn&amp;#39;t work either -&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;lt;script&amp;gt;&lt;br /&gt;function pageLoad()&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;setTimeout(setEventHandler,3000);&lt;br /&gt;}&lt;br /&gt;&amp;nbsp;&lt;br /&gt;function setEventHandler()&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;var btnSend = document.getElementById(&amp;quot;ctl00_SPWebPartManager1_g_05feacdc_f33d_4745_9911_be9cad71a70c_FormControl0_V1_I1_B4&amp;quot;);&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;btnSend.onmouseup = function(){Button.OnClick(this, event); window.location=&amp;#39;#&amp;#39;;};&lt;br /&gt;}&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;/p&gt;</description></item></channel></rss>