<?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: problems referencing from another view</title><link>https://www.infopathdev.com:443/forums/thread/31163.aspx</link><pubDate>Sun, 03 Aug 2008 19:56:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31163</guid><dc:creator>canadianjameson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31163.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31163</wfw:commentRss><description>&lt;p&gt;hehe, I guess I had a little more confidence in my muddling skills than I should have :) -- i posted like 5 mins ago, lol&lt;/p&gt;
&lt;p&gt;I have a table, and one of it&amp;#39;s fields is a dropdown menu with two options: approved and rejected.&amp;nbsp; I need to have the table rows re-order themselves based on this selection.&amp;nbsp; Essentially I need all the rows with the field set to &amp;#39;approved&amp;#39; to display above all the fields set to &amp;#39;rejected&amp;#39;.&amp;nbsp;&amp;nbsp; is this hard to do?&lt;/p&gt;
&lt;p&gt;and secondly, I&amp;#39;m looking to employ conditional formatting based on what view the user is in but i can&amp;#39;t seem to find out how to reference the current view :(&amp;nbsp; any ideas? I mean i could just have a hidden field in ever view containing that views name and the use conditional formatting based on that condition, but there HAS to be a built in method like &amp;#39;this.view()&amp;#39; or something similar... i just cant find it :(&lt;/p&gt;
&lt;p&gt;&lt;em&gt;edit:&lt;/em&gt; I found this and I think it&amp;#39;s what i need, thanks to you :) &lt;a href="http://www.infopathdev.com/forums/t/7915.aspx"&gt;http://www.infopathdev.com/forums/t/7915.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: problems referencing from another view</title><link>https://www.infopathdev.com:443/forums/thread/31162.aspx</link><pubDate>Sun, 03 Aug 2008 19:23:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31162</guid><dc:creator>canadianjameson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31162.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31162</wfw:commentRss><description>&lt;p&gt;That&amp;#39;s PERFECT!&lt;/p&gt;
&lt;p&gt;Thank you so much :)!&amp;nbsp; I can&amp;#39;t tell you how much time this has saved me :)&lt;/p&gt;
&lt;p&gt;Hopefully I can muddle through from here on in, but with my luck I just might post again :)&lt;/p&gt;
&lt;p&gt;Cheers, and thanks again :)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Jay&lt;/p&gt;
&lt;p&gt;p.s: if you have any experience with K2.net, would you mind terribly having a quick look here: &lt;a href="http://www.infopathdev.com/forums/p/8696/31149.aspx#31149"&gt;http://www.infopathdev.com/forums/p/8696/31149.aspx#31149&lt;/a&gt;&amp;nbsp;? *sheepish smile*&lt;/p&gt;</description></item><item><title>Re: problems referencing from another view</title><link>https://www.infopathdev.com:443/forums/thread/31158.aspx</link><pubDate>Sun, 03 Aug 2008 18:02:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31158</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31158.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31158</wfw:commentRss><description>&lt;p&gt;Here is where things start to get wacky. The onAfterChange event runs twice. Yes, that’s right. It runs the first time to delete the previous value of the node, then a second time to insert the new value. There is a way to make sure you only hit your code once, however – add an if statement with the condition&amp;nbsp;eventObj.Operation == “Insert” and set your code in that. So:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;function msoxd_my_field133::OnAfterChange(eventObj)&amp;nbsp;&lt;br /&gt;{ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Write code here to restore the global state.&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/em&gt;if &lt;em&gt;(&lt;/em&gt;eventObj.Operation == “Insert”)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XDocument.View.ExecuteAction(&amp;quot;xCollection::insert&amp;quot;, &amp;quot;Log_Group_189&amp;quot;);&lt;br /&gt;&lt;/em&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;em&gt;}&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Nice work around for your rules/code problem, by the way!&lt;/p&gt;</description></item><item><title>Re: problems referencing from another view</title><link>https://www.infopathdev.com:443/forums/thread/31156.aspx</link><pubDate>Sat, 02 Aug 2008 23:28:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31156</guid><dc:creator>canadianjameson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31156.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31156</wfw:commentRss><description>&lt;p&gt;success! ish.&amp;nbsp; lol&lt;/p&gt;
&lt;p&gt;&amp;nbsp;okay we created a work around whereby we have a hidden text box and we coded the submit button to change the value of the text box, and used the OnAfterChange event to fire the code, like such&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp;function msoxd_my_field133::OnAfterChange(eventObj) { // Write code here to restore the global state. XDocument.View.ExecuteAction(&amp;quot;xCollection::insert&amp;quot;, &amp;quot;Log_Group_189&amp;quot;); }&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;but the problem is that this seems to be calling the above function &lt;em&gt;twice&lt;/em&gt; and inserting two rows for every one click :(&lt;/p&gt;
&lt;p&gt;is there any way around this?&amp;nbsp; there has to be&lt;/p&gt;</description></item><item><title>Re: problems referencing from another view</title><link>https://www.infopathdev.com:443/forums/thread/31155.aspx</link><pubDate>Sat, 02 Aug 2008 21:42:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31155</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31155.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31155</wfw:commentRss><description>&lt;p&gt;No bother at all -- but I confess, I&amp;#39;m stumped. I tried it in a sample and had the exact same result. I even changed the code to clone and append the node, just in case it was the xCollection::insert. I&amp;#39;ve used the code before rules thing before, but only to add an event to an Outlook Calendar -- so not modifying the form at all. I saw &lt;a href="http://www.infopathdev.com/forums/p/5229/5229.aspx"&gt;this&lt;/a&gt; post where it looked like someone else was having a similar trouble with the same method....&lt;/p&gt;
&lt;p&gt;You may need to do whatever you were handling in rules in the form&amp;#39;s code.... which is kind of ugly.&lt;/p&gt;</description></item><item><title>Re: problems referencing from another view</title><link>https://www.infopathdev.com:443/forums/thread/31153.aspx</link><pubDate>Sat, 02 Aug 2008 20:06:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31153</guid><dc:creator>canadianjameson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31153.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31153</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Well, another day another progression and a new error is born :)&lt;/p&gt;
&lt;p&gt;We got it working&amp;nbsp;but have now run into a weird error:&lt;/p&gt;
&lt;p&gt;&amp;quot;Infopath cannot insert the section or row because of an error&amp;quot; and the details show: &amp;quot;Attempt to modify a read-only node.&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Now the table that we&amp;#39;re writting to isn&amp;#39;t read only, and this function works if we call it through the code like so:&lt;br /&gt;&lt;em&gt;function CTRL134_5::OnClick(eventObj) { // Write your code here XDocument.View.ExecuteAction(&amp;quot;xCollection::insert&amp;quot;, &amp;quot;Log_Group_189&amp;quot;); }&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;but when we try to call it via a rule, like explained in the blog, it generates the error above.&amp;nbsp;&amp;nbsp; the code for the rule call is:&lt;br /&gt;&lt;em&gt;function Test() { XDocument.View.ExecuteAction(&amp;quot;xCollection::insert&amp;quot;, &amp;quot;Log_Group_189&amp;quot;); return true; } &lt;br /&gt;&lt;/em&gt;and the rule we&amp;#39;re using is:&lt;br /&gt;&lt;em&gt;the expression: xdExtension:Test()&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Any ideas?&amp;nbsp; It seems weird that calling the same function would work via one method an not the other.&amp;nbsp; maybe it has something to do with the&amp;nbsp;xdExtension method and the type of function we&amp;#39;re calling?&amp;nbsp; I don&amp;#39;t know&lt;/p&gt;
&lt;p&gt;Thanks for your help, and please let me know if I&amp;#39;m being a bother :(&lt;/p&gt;</description></item><item><title>Re: problems referencing from another view</title><link>https://www.infopathdev.com:443/forums/thread/31130.aspx</link><pubDate>Fri, 01 Aug 2008 18:05:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31130</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31130.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31130</wfw:commentRss><description>&lt;p&gt;No worries on the lack of expertise -- we&amp;#39;ve all felt that way with IP! &lt;/p&gt;
&lt;p&gt;So you want to run code before rules? It does work ... I just did it recently (using the same blog post for reference. You are using javascript? Your function does need to return true so that your rules will run afterward. What is happening that makes you say it is not working? Is your code not executing? The rules following your code aren&amp;#39;t executing? Is your form browser compatible? I don&amp;#39;t believe you can use this in browser forms.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/aa168465(office.11).aspx"&gt;Here&lt;/a&gt; is an article on MSDN about submitting -- towards the end is a code sample that may help you.&lt;/p&gt;</description></item><item><title>Re: problems referencing from another view</title><link>https://www.infopathdev.com:443/forums/thread/31126.aspx</link><pubDate>Fri, 01 Aug 2008 16:45:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31126</guid><dc:creator>canadianjameson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31126.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31126</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;That seems to have done the trick :)&amp;nbsp; I hope you don&amp;#39;t mind but I have two other small questions: we&amp;#39;re try to do something like this: &lt;a href="http://blogs.msdn.com/infopath/archive/2005/06/17/430347.aspx"&gt;http://blogs.msdn.com/infopath/archive/2005/06/17/430347.aspx&lt;/a&gt;&amp;nbsp;however it doesn&amp;#39;t generate an error but doesn&amp;#39;t seem to be working either; any thoughts?&amp;nbsp; The comments seem to be negative as well so maybe there is a glitch in the code :(&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Secondly, I am looking to code the submit button using jscript. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;The button is doing 2 things&lt;br /&gt;1 - adding to the log file via code&lt;br /&gt;2 - submitting form (but the rules do a quick check for something and either submit the form using one connection or another), and then it closes the form&lt;/p&gt;
&lt;p&gt;1 is taken care of via code, I just need code for the if statement, whatever the syntax is for submitting the form, and the code to close it.&amp;nbsp; Is it the same sort of code used to program websites in JavaScript? or is it some sort of special severside version?&lt;/p&gt;
&lt;p&gt;Thanks again, and sorry for my lack of expertise :)&lt;/p&gt;</description></item><item><title>Re: problems referencing from another view</title><link>https://www.infopathdev.com:443/forums/thread/31085.aspx</link><pubDate>Thu, 31 Jul 2008 21:12:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31085</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31085.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31085</wfw:commentRss><description>&lt;p&gt;I think I get what you are saying now! View1 has the button, View2 has the table. You want to click the button in View1 and add a row to the table in View2--but you are right, you can&amp;#39;t because the table doesn&amp;#39;t exist in View1. However, you can add another table in View1 (connected to the same group, of course) and then use conditional formatting to hide it. Your condition could be &lt;strong&gt;The expression&lt;/strong&gt; and then type &amp;quot;true&amp;quot; in the next field, and select &lt;strong&gt;Hide this control&lt;/strong&gt;. Be sure in your repeating table properties, you deselect Header and the &lt;strong&gt;Show insert button and hint text&lt;/strong&gt; box. That way your control is on your view, you can use your script on your button, and it will add rows to the table on the other view....&lt;/p&gt;
&lt;p&gt;Let me know if I&amp;#39;m still not quite understanding what you are trying to do, okay?&lt;/p&gt;</description></item><item><title>Re: problems referencing from another view</title><link>https://www.infopathdev.com:443/forums/thread/31082.aspx</link><pubDate>Thu, 31 Jul 2008 20:33:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31082</guid><dc:creator>canadianjameson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31082.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31082</wfw:commentRss><description>&lt;p&gt;Hi, sorry for the delay.&lt;/p&gt;&lt;p&gt;we are just adding a row because the default values take care of the rest. If its simpler we could add a row and data via code for troubleshooting purposes.&lt;br /&gt;&lt;br /&gt;the &amp;quot;group7_6&amp;quot; is the varxmltoedit parameter that we are trying to use (i don&amp;#39;t know if that made any sense), but it seems like&amp;nbsp; it can&amp;#39;t seem to find it if its on a different view.&amp;nbsp; Basically the objective here is to copy form field data (which is entered onto a form by a user) into a log file as part of the action taken when the form is saved.&amp;nbsp; the problem seems to be that when Form A looks for &amp;quot;group7_6&amp;quot; on Form B, it returns the error.&lt;/p&gt;&lt;p&gt;from your message above: The &lt;span class="parameter"&gt;&lt;em&gt;varXmlToEdit&lt;/em&gt;&lt;/span&gt; parameter does not match an editing component that is defined in &lt;u&gt;&lt;b&gt;the&lt;/b&gt;&lt;/u&gt; view, it would seem that looking across views for variables generates the error we&amp;#39;re getting -- how did you manage to do it?&amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;  &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks again for all of your help :)&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: problems referencing from another view</title><link>https://www.infopathdev.com:443/forums/thread/31047.aspx</link><pubDate>Wed, 30 Jul 2008 19:44:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31047</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31047.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31047</wfw:commentRss><description>&lt;p&gt;From the MSDN page for View.ExecuteAction, the error is probably from: The &lt;span class="parameter"&gt;&lt;em&gt;varXmlToEdit&lt;/em&gt;&lt;/span&gt; parameter does not match an editing component that is defined in the view. (For further reference, &lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.office.interop.infopath.semitrust.view.executeaction(VS.80).aspx"&gt;here&lt;/a&gt; is a link to the page.)&lt;/p&gt;
&lt;p&gt;I did a quick sample form with two views and a two tables connected to the same group in my data source (thus, they both had the same id) and calling the View.ExecuteAction on that group id added rows to the tables in both views. I also added another table connected to a different data source, and modified the script to add rows to that table, and had no problems. &lt;/p&gt;
&lt;p&gt;I just re-read your post -- are you trying to add data? Because the code you have will simply add a new blank row to a repeating group....&lt;/p&gt;</description></item><item><title>Re: problems referencing from another view</title><link>https://www.infopathdev.com:443/forums/thread/31043.aspx</link><pubDate>Wed, 30 Jul 2008 18:55:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31043</guid><dc:creator>canadianjameson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31043.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31043</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks for you response :)&amp;nbsp; I checked the button ID&amp;#39;s and they were the same, but even when I changed them so that they were unique (and also changed the code to reflect the two ID&amp;#39;s, I got the same error message&lt;/p&gt;
&lt;p&gt;&amp;nbsp;What could be causing this?&lt;/p&gt;</description></item><item><title>Re: problems referencing from another view</title><link>https://www.infopathdev.com:443/forums/thread/31042.aspx</link><pubDate>Wed, 30 Jul 2008 18:44:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31042</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31042.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31042</wfw:commentRss><description>&lt;p&gt;Hello, and welcome!&lt;/p&gt;
&lt;p&gt;Notice that you are inserting a particular group: &amp;quot;group7_6&amp;quot;. On a different view, the control will have a different name. Right click the log table in the view you&amp;#39;ve copied the button to, and check the name of your group. You probably also need to check the name of your button and click the &lt;strong&gt;Edit Code&lt;/strong&gt; button to create a new event handler for the button, then copy your code in.&lt;/p&gt;
&lt;p&gt;Let me know if you need more information, okay?&lt;/p&gt;</description></item><item><title>problems referencing from another view</title><link>https://www.infopathdev.com:443/forums/thread/31041.aspx</link><pubDate>Wed, 30 Jul 2008 18:32:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31041</guid><dc:creator>canadianjameson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31041.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=31041</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;I&amp;#39;m abysmally new to Infopath and I&amp;#39;m helping a friend get something up and running but we have hit a snag.&amp;nbsp; We have a bunch of different views, and when a form is submitted we want to have the changes saved in a log table.&amp;nbsp; Now the button code that we are using is as follows&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="margin-left:40px;"&gt;function CTRL134_5::OnClick(eventObj)
{&lt;br /&gt;&lt;br /&gt;&lt;div style="margin-left:40px;"&gt;// Write your code here
	&lt;/div&gt;&lt;/div&gt;&lt;p style="margin-left:80px;"&gt;XDocument.View.ExecuteAction(&amp;quot;xCollection::insert&amp;quot;, &amp;quot;group7_6&amp;quot;);
}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;however the problem is that when this button is placed on a view &lt;b&gt;other than&lt;/b&gt; the &amp;quot;log view&amp;quot;, it does not add the new data to the log table.&lt;/p&gt;&lt;p&gt;We get this error when the button is placed on another view:&lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;The following error occurred:&lt;br /&gt;&lt;br /&gt;The specified varXmlToEdit value for the View.ExecuteAction call is not valid.&lt;br /&gt;File:script.js&lt;br /&gt;Line:219&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;There&amp;#39;s a good chance that I haven&amp;#39;t explained this properly, but I will be happy to provide extra info if it&amp;#39;s needed&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Cheers, and thanks again&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;p.s: he seems to think it&amp;#39;s a problem of the rules being executed before the code, at which point the form is being closed before the data is sent to the log.&amp;nbsp; is this possible?&amp;nbsp; If so, what do we do?&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>