<?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: Refresh InfoPath field after code-based calculation</title><link>https://www.infopathdev.com:443/forums/thread/81769.aspx</link><pubDate>Fri, 17 Aug 2012 17:45:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81769</guid><dc:creator>Gennady Vanin (Геннадий Ванин, Новосибирск)</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81769.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=81769</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;For me it started to work in Mozilla Firefox and IE7 after I enabled Always for Postback settings on &lt;b&gt;source&lt;/b&gt; textbox (which value changing triggers filling from code behind another target textbox) &amp;nbsp; &amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;I also succeeded with more complicated solutions...&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Update: &amp;nbsp;&lt;/p&gt;&lt;p&gt;Ooops, I saw that you have resolved the problem only after this post. Though for me it works with setting Postabk to alwaus only at one textbox &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Refresh InfoPath field after code-based calculation</title><link>https://www.infopathdev.com:443/forums/thread/81761.aspx</link><pubDate>Fri, 17 Aug 2012 16:28:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81761</guid><dc:creator>Gennady Vanin (Геннадий Ванин, Новосибирск)</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81761.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=81761</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I cannot find the .cs (renamed to .txt) though I believe I reproduced the problem&lt;/p&gt;&lt;p&gt;When one textbox looses the focus another textbox is filled from code-behind in Preview but not in browser.&lt;/p&gt;&lt;p&gt;And I believe I can find a solution - it is necessary to add a rule ...&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;</description></item><item><title>Re: Refresh InfoPath field after code-based calculation: Solved</title><link>https://www.infopathdev.com:443/forums/thread/81757.aspx</link><pubDate>Fri, 17 Aug 2012 15:51:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81757</guid><dc:creator>bluewater</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81757.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=81757</wfw:commentRss><description>Upon further testing I found out that it works when you set both fields (the triggering *and* the triggered field) to &amp;quot;always&amp;quot;, as you suggested. Thank you very much, this has helped me a lot!</description></item><item><title>Re: Refresh InfoPath field after code-based calculation</title><link>https://www.infopathdev.com:443/forums/thread/81755.aspx</link><pubDate>Fri, 17 Aug 2012 15:17:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81755</guid><dc:creator>bluewater</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81755.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=81755</wfw:commentRss><description>&lt;p&gt;I am attaching the Form Code (it is a .cs file but I had to rename it to .txt so I could upload). I now realize that I have changed the form since I posted the question - the&amp;nbsp;current version (correctly) references the&amp;nbsp;&amp;quot;penalty&amp;quot; field.&lt;/p&gt;&lt;p&gt;I have also updated the video to a more eye-friendly size (&lt;a href="http://www.screencast.com/t/OipKSsfdx"&gt;http://www.screencast.com/t/OipKSsfdx&lt;/a&gt;)&lt;/p&gt;&lt;p&gt;Have changed the post-back options to &amp;quot;always&amp;quot; as per your recommendations, but no joy.&lt;/p&gt;&lt;p&gt;Generally speaking, can you confirm that what I am trying to do (calculate a field in code and&amp;nbsp;have the *browser* display refresh automatically) can actually be done at all or am I just chasing my&amp;nbsp;tail here?&lt;/p&gt;&lt;p&gt;Thx,&lt;/p&gt;&lt;p&gt;bluewater&lt;/p&gt;</description></item><item><title>Re: Refresh InfoPath field after code-based calculation</title><link>https://www.infopathdev.com:443/forums/thread/81741.aspx</link><pubDate>Fri, 17 Aug 2012 12:03:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81741</guid><dc:creator>Gennady Vanin (Геннадий Ванин, Новосибирск)</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81741.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=81741</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;bluewater:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;code style="margin:0px;padding:0px;border:0px currentColor;font-size:13.63px;vertical-align:baseline;"&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code style="margin:0px;padding:0px;border:0px currentColor;font-size:13.63px;vertical-align:baseline;"&gt;

    // output now has the correct value
    &lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code style="margin:0px;padding:0px;border:0px currentColor;font-size:13.63px;vertical-align:baseline;"&gt;XPathNavigator outputNav = main.SelectSingleNode(&amp;quot;my:meineFelder/my:output&amp;quot;, NamespaceManager);&lt;/code&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Feeling me stupid but I cannot find output data field under&amp;nbsp; &lt;code style="margin:0px;padding:0px;border:0px currentColor;font-size:13.63px;vertical-align:baseline;"&gt;meineFelder data source in your template...&lt;br /&gt;&lt;/code&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Refresh InfoPath field after code-based calculation</title><link>https://www.infopathdev.com:443/forums/thread/81740.aspx</link><pubDate>Fri, 17 Aug 2012 11:47:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81740</guid><dc:creator>Gennady Vanin (Геннадий Ванин, Новосибирск)</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81740.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=81740</wfw:commentRss><description>&lt;p&gt;Well, it cannot be viewed much...&amp;nbsp; &lt;br /&gt;&lt;br /&gt;The VSTA project code is absent, i.e. on pressing Code Editor, I am getting:&lt;/p&gt;&lt;ul&gt;&lt;li&gt; &amp;nbsp; Infopath cannot start Microsoft Visual Studio Tools for Applications&lt;br /&gt;The Visual Basic or C# project for this form template cannot be found&lt;br /&gt;To locate the project yourself, click Browse&lt;br /&gt;Browse&lt;br /&gt;Cancel&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Details of Data Sources/connections cannot be viewed...&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;And the video is to small for my eyes. I tried to change resolution both in monitor and browser but without luck&lt;/p&gt;&lt;p&gt;&amp;nbsp;I see you are using Web Browser Form.&lt;br /&gt;Could you try to change to to Always from default:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;(default) Only when necessary for correct rendering of the form (recommended)&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;in &lt;b&gt;Postback settings&lt;/b&gt; of fields&amp;#39; controls properties (Advanced tab)? In Infopath Designer, focus/click on control upon which press Alt+Enter...&lt;/p&gt;&lt;br /&gt;</description></item><item><title>Re: Refresh InfoPath field after code-based calculation</title><link>https://www.infopathdev.com:443/forums/thread/81738.aspx</link><pubDate>Fri, 17 Aug 2012 09:22:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81738</guid><dc:creator>bluewater</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81738.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=81738</wfw:commentRss><description>&lt;p&gt;Sorry I took so long to reply, but I&amp;nbsp;had&amp;nbsp;the brilliant&amp;nbsp;idea to dcpromo my VM machine. Friggin&amp;#39; nightmare....&amp;nbsp; took a long time to get everything back to working but it&amp;#39;s OK now...&lt;/p&gt;&lt;p&gt;&amp;nbsp;Back to my original problem (field computed in infopath code does not get refreshed in browser). I am attaching the infopath form. I have also done a little video that demonstrates the problem: &lt;a href="http://www.screencast.com/t/4SCAGhGn"&gt;http://www.screencast.com/t/4SCAGhGn&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;thank you for looking into this.&lt;/p&gt;</description></item><item><title>Re: Refresh InfoPath field after code-based calculation</title><link>https://www.infopathdev.com:443/forums/thread/81467.aspx</link><pubDate>Tue, 07 Aug 2012 17:58:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81467</guid><dc:creator>bluewater</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81467.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=81467</wfw:commentRss><description>&lt;p&gt;Gennady,&lt;/p&gt;&lt;p&gt;&amp;nbsp;thank you for looking into this. You are quite right, of course - I meant to say a forms library, not a list. Sorry, SP newbie ...&lt;/p&gt;&lt;p&gt;Also, I have hidden the form&amp;#39;s default toolbar (that includes&amp;nbsp;the submit button) and have replaced it with a button of my own that sits on the form and does a &amp;quot;send to datasource&amp;quot;.&lt;/p&gt;&lt;p&gt;I am away from the office for the next two days but will post the form template as soon as I get back. Until then, thx again.&lt;/p&gt;&lt;p&gt;bluewater&lt;/p&gt;</description></item><item><title>Re: Refresh InfoPath field after code-based calculation</title><link>https://www.infopathdev.com:443/forums/thread/81396.aspx</link><pubDate>Mon, 06 Aug 2012 14:33:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81396</guid><dc:creator>Gennady Vanin (Геннадий Ванин, Новосибирск)</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81396.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=81396</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;bluewater:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;p style="margin:0px 0px 1em;padding:0px;border:0px currentColor;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;clear:both;word-spacing:0px;vertical-align:baseline;white-space:normal;word-wrap:break-word;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;I have an InfoPath 2010 form &lt;b&gt;that creates a new Sharepoint list item.&lt;/b&gt; The form has, in essence, one input field and one output field. If something gets entered in the input field then some calculation is performed and I want the result to show up in the output field before the user clicks &amp;quot;OK&amp;quot; or &amp;quot;Reject&amp;quot;. As the calculation is somewhat complicated I need to do it in code, not through rules.&lt;/p&gt;&lt;p style="margin:0px 0px 1em;padding:0px;border:0px currentColor;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;clear:both;word-spacing:0px;vertical-align:baseline;white-space:normal;word-wrap:break-word;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;I am doing this:&lt;/p&gt;&lt;pre style="margin:0px 0px 10px;padding:5px;border:0px currentColor;width:auto;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;overflow:auto;word-spacing:0px;vertical-align:baseline;max-height:600px;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;code style="margin:0px;padding:0px;border:0px currentColor;font-size:13.63px;vertical-align:baseline;"&gt;private void CalculateOutput()
{
    XPathNavigator main = MainDataSource.CreateNavigator();
    XPathNavigator service = main.SelectSingleNode(&amp;quot;my:meineFelder/my:serviceValue&amp;quot;, NamespaceManager);
    double serviceValue = service.ValueAsDouble;
    double output = 3*serviceValue;   // much abbreviated version

    // output now has the correct value
    XPathNavigator outputNav = main.SelectSingleNode(&amp;quot;my:meineFelder/my:output&amp;quot;, NamespaceManager);

    //Remove the &amp;quot;nil&amp;quot; attribute (otherwise we get an error when the field is a double instead of a string)
    if (outputNav.MoveToAttribute(&amp;quot;nil&amp;quot;, &amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;))  outputNav.DeleteSelf();

    outputNav.SetValue(output.ToString());
 }
&lt;/code&gt;&lt;/pre&gt;&lt;p style="margin:0px 0px 1em;padding:0px;border:0px currentColor;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;clear:both;word-spacing:0px;vertical-align:baseline;white-space:normal;word-wrap:break-word;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;My problem is that everything works fine in the InfoPath preview but once I deploy the form and run it in the browser the output field does not get updated, i.e. I cannot see the result of my calculations.&lt;/p&gt;&lt;p style="margin:0px 0px 1em;padding:0px;border:0px currentColor;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;clear:both;word-spacing:0px;vertical-align:baseline;white-space:normal;word-wrap:break-word;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;I have tried .ReplaceSelf (with OuterXML), with zero result. I have also played with assigning the result to another field and thereby firing an &amp;quot;set field value&amp;quot; rule, also to no avail.&lt;/p&gt;&lt;p style="margin:0px 0px 1em;padding:0px;border:0px currentColor;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;clear:both;word-spacing:0px;vertical-align:baseline;white-space:normal;word-wrap:break-word;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;If I submit the form, the output value is saved OK but I&amp;#39;d really like the user to see the output field before submitting. I guess I need a way to refresh the form but I can&amp;#39;t see how.&lt;/p&gt;&lt;p style="margin:0px 0px 1em;padding:0px;border:0px currentColor;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;clear:both;word-spacing:0px;vertical-align:baseline;white-space:normal;word-wrap:break-word;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;Any Ideas? Thx a lot.&lt;/p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;p&gt;For me, it is unclear how to reproduce what you have written.&lt;/p&gt;&lt;p&gt;It is impossible to attach a custom code to &lt;b&gt;Sharepont List Form&lt;/b&gt; (as it appears on compatibility &amp;lt; Form Options) or submit it from Filler/Preview while running it from browser doesn&amp;#39;t have Submit but only Save&lt;/p&gt;&lt;p&gt;It is possible to have&amp;nbsp; Submit and custom code for forms in document (or form) library but then it is not clear from your descriptions how you managed &amp;quot;everything works fine in the InfoPath preview&amp;quot; to create new sharepoint list items&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Probably you missed or named wrongly some terms in your descriptions &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Can you attach your form template (in options tab of a post) and/or describe how to reproduce what you have done?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Refresh InfoPath field after code-based calculation</title><link>https://www.infopathdev.com:443/forums/thread/81384.aspx</link><pubDate>Mon, 06 Aug 2012 05:33:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81384</guid><dc:creator>bluewater</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81384.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=81384</wfw:commentRss><description>&lt;p style="margin:0px 0px 1em;padding:0px;border:0px currentColor;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;clear:both;word-spacing:0px;vertical-align:baseline;white-space:normal;word-wrap:break-word;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;I have an InfoPath 2010 form that creates a new Sharepoint list item. The form has, in essence, one input field and one output field. If something gets entered in the input field then some calculation is performed and I want the result to show up in the output field before the user clicks &amp;quot;OK&amp;quot; or &amp;quot;Reject&amp;quot;. As the calculation is somewhat complicated I need to do it in code, not through rules.&lt;/p&gt;&lt;p style="margin:0px 0px 1em;padding:0px;border:0px currentColor;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;clear:both;word-spacing:0px;vertical-align:baseline;white-space:normal;word-wrap:break-word;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;I am doing this:&lt;/p&gt;&lt;pre style="margin:0px 0px 10px;padding:5px;border:0px currentColor;width:auto;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;overflow:auto;word-spacing:0px;vertical-align:baseline;max-height:600px;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;code style="margin:0px;padding:0px;border:0px currentColor;font-size:13.63px;vertical-align:baseline;"&gt;private void CalculateOutput()
{
    XPathNavigator main = MainDataSource.CreateNavigator();
    XPathNavigator service = main.SelectSingleNode(&amp;quot;my:meineFelder/my:serviceValue&amp;quot;, NamespaceManager);
    double serviceValue = service.ValueAsDouble;
    double output = 3*serviceValue;   // much abbreviated version

    // output now has the correct value
    XPathNavigator outputNav = main.SelectSingleNode(&amp;quot;my:meineFelder/my:output&amp;quot;, NamespaceManager);

    //Remove the &amp;quot;nil&amp;quot; attribute (otherwise we get an error when the field is a double instead of a string)
    if (outputNav.MoveToAttribute(&amp;quot;nil&amp;quot;, &amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;))  outputNav.DeleteSelf();

    outputNav.SetValue(output.ToString());
 }
&lt;/code&gt;&lt;/pre&gt;&lt;p style="margin:0px 0px 1em;padding:0px;border:0px currentColor;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;clear:both;word-spacing:0px;vertical-align:baseline;white-space:normal;word-wrap:break-word;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;My problem is that everything works fine in the InfoPath preview but once I deploy the form and run it in the browser the output field does not get updated, i.e. I cannot see the result of my calculations.&lt;/p&gt;&lt;p style="margin:0px 0px 1em;padding:0px;border:0px currentColor;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;clear:both;word-spacing:0px;vertical-align:baseline;white-space:normal;word-wrap:break-word;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;I have tried .ReplaceSelf (with OuterXML), with zero result. I have also played with assigning the result to another field and thereby firing an &amp;quot;set field value&amp;quot; rule, also to no avail.&lt;/p&gt;&lt;p style="margin:0px 0px 1em;padding:0px;border:0px currentColor;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;clear:both;word-spacing:0px;vertical-align:baseline;white-space:normal;word-wrap:break-word;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;If I submit the form, the output value is saved OK but I&amp;#39;d really like the user to see the output field before submitting. I guess I need a way to refresh the form but I can&amp;#39;t see how.&lt;/p&gt;&lt;p style="margin:0px 0px 1em;padding:0px;border:0px currentColor;text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;clear:both;word-spacing:0px;vertical-align:baseline;white-space:normal;word-wrap:break-word;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;Any Ideas? Thx a lot.&lt;/p&gt;</description></item></channel></rss>