<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Testing HTTP Submit Buttons</title>
	<atom:link href="http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/feed/" rel="self" type="application/rss+xml" />
	<link>http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/</link>
	<description>Building intelligent forms using Adobe LiveCycle Designer</description>
	<lastBuildDate>Thu, 19 Jan 2012 16:32:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/#comment-7150</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Sat, 23 Oct 2010 02:41:48 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/#comment-7150</guid>
		<description>@Hasan,

I&#039;m afraid there&#039;s nothing I can think of that I did special in my server script that prompts the browser to open.

Based on my testing, if you open my sample &quot;HttpSubmitTest.pdf&quot; form in Reader or Acrobat &lt;i&gt;outside&lt;/i&gt; the browser (i.e. right-click on the link to the sample, save it to your desktop and double-click the PDF file to open it), the response will come back to Reader or Acrobat (and will fail in Reader).

If you load my sample form in a browser (i.e. by simply clicking on the link to the sample, causing the PDF to be loaded in the browser via the Acrobat/Reader plugin), the response will come back in the browser.</description>
		<content:encoded><![CDATA[<p>@Hasan,</p>
<p>I&#8217;m afraid there&#8217;s nothing I can think of that I did special in my server script that prompts the browser to open.</p>
<p>Based on my testing, if you open my sample &#8220;HttpSubmitTest.pdf&#8221; form in Reader or Acrobat <i>outside</i> the browser (i.e. right-click on the link to the sample, save it to your desktop and double-click the PDF file to open it), the response will come back to Reader or Acrobat (and will fail in Reader).</p>
<p>If you load my sample form in a browser (i.e. by simply clicking on the link to the sample, causing the PDF to be loaded in the browser via the Acrobat/Reader plugin), the response will come back in the browser.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hasan</title>
		<link>http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/#comment-7149</link>
		<dc:creator>Hasan</dc:creator>
		<pubDate>Thu, 14 Oct 2010 15:33:41 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/#comment-7149</guid>
		<description>Stefan,  I meant to say that when I submit your form from Reader the response comes back to the browser.  And that is how I want my form to behave but with my url.  I put my url in your HTTPSUBMITTEST.pdf form and that gave an error.  If you say that I have to open the form in a browser to get the response in a browser then how come the HTTPSUBMITTEST.pdf when sublitted from Reader gives a response to the browser?  I tried from 2 different PCs and it works both places.  I figure there is something in your server script that propmpts the browser to open and display the response.</description>
		<content:encoded><![CDATA[<p>Stefan,  I meant to say that when I submit your form from Reader the response comes back to the browser.  And that is how I want my form to behave but with my url.  I put my url in your HTTPSUBMITTEST.pdf form and that gave an error.  If you say that I have to open the form in a browser to get the response in a browser then how come the HTTPSUBMITTEST.pdf when sublitted from Reader gives a response to the browser?  I tried from 2 different PCs and it works both places.  I figure there is something in your server script that propmpts the browser to open and display the response.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/#comment-7148</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Fri, 01 Oct 2010 14:14:08 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/#comment-7148</guid>
		<description>@Neeraj,

Sounds interesting but I think you&#039;re venturing into uncharted territory...</description>
		<content:encoded><![CDATA[<p>@Neeraj,</p>
<p>Sounds interesting but I think you&#8217;re venturing into uncharted territory&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/#comment-7147</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Fri, 10 Sep 2010 11:50:02 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/#comment-7147</guid>
		<description>@Hasan,

First, to get a response in the browser, the PDF must be loaded in a browser (note that when previewing forms in Designer, you are actually using Acrobat/Reader loaded in Internet Explorer). If you submit from Acrobat/Reader loaded standalone, Acrobat/Reader will attempt to create a PDF from the response. Since Reader cannot create PDFs, you&#039;ll get an error (though admittedly not a &quot;submit failed&quot; error).

Since your form works fine when submitting to my test service as opposed to yours, it sounds more like an access issue outside the form itself -- like your computer cannot see your service. When it comes to access, the first thing that comes to mind is the possible need for a &lt;a href=&quot;http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html&quot; rel=&quot;nofollow&quot;&gt;cross-domain policy file&lt;/a&gt; (i.e. crossdomain.xml) that gives permission for access to your server from various domains. I have one that specifies that all domains have access (and it&#039;s located in my server&#039;s root):

&lt;pre&gt;&lt;code&gt;&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;!DOCTYPE cross-domain-policy SYSTEM &quot;http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd&quot;&gt;
&lt;cross-domain-policy&gt;
    &lt;allow-access-from domain=&quot;*&quot;/&gt;
&lt;/cross-domain-policy&gt;&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>@Hasan,</p>
<p>First, to get a response in the browser, the PDF must be loaded in a browser (note that when previewing forms in Designer, you are actually using Acrobat/Reader loaded in Internet Explorer). If you submit from Acrobat/Reader loaded standalone, Acrobat/Reader will attempt to create a PDF from the response. Since Reader cannot create PDFs, you&#8217;ll get an error (though admittedly not a &#8220;submit failed&#8221; error).</p>
<p>Since your form works fine when submitting to my test service as opposed to yours, it sounds more like an access issue outside the form itself &#8212; like your computer cannot see your service. When it comes to access, the first thing that comes to mind is the possible need for a <a href="http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html" rel="nofollow">cross-domain policy file</a> (i.e. crossdomain.xml) that gives permission for access to your server from various domains. I have one that specifies that all domains have access (and it&#8217;s located in my server&#8217;s root):</p>
<pre><code>&lt;?xml version="1.0"?>
&lt;!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
&lt;cross-domain-policy>
    &lt;allow-access-from domain="*"/>
&lt;/cross-domain-policy></code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neeraj</title>
		<link>http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/#comment-7146</link>
		<dc:creator>Neeraj</dc:creator>
		<pubDate>Thu, 09 Sep 2010 06:13:38 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/#comment-7146</guid>
		<description>Hi,

I have a XFA form which can be submitted using HTTP form submission. I am dispaying this form during an application flow on my website. Submitting the PDF shows a success page to the user with a link to download read-only format of the PDF which they have submitted.

Everything works fine if the PDF opens in browser. If the user unchecks &#039;Open PDF in browser&#039; option from Adobe Reader, then I would like to close the PDF opened in Adobe reader once the user submit the PDF by clicking the Submit button and refresh the opener browser window with resultant page.

Can I get a handle of the opener browser window from PDF?
If I close the PDF using event.target.closeDoc(), the refresh of the browser id not happening. Is it possible?
Refresh of the browser works fine if I didnt close the PDF.

Please find some time to answer this.

THanks
Neeraj</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have a XFA form which can be submitted using HTTP form submission. I am dispaying this form during an application flow on my website. Submitting the PDF shows a success page to the user with a link to download read-only format of the PDF which they have submitted.</p>
<p>Everything works fine if the PDF opens in browser. If the user unchecks &#8216;Open PDF in browser&#8217; option from Adobe Reader, then I would like to close the PDF opened in Adobe reader once the user submit the PDF by clicking the Submit button and refresh the opener browser window with resultant page.</p>
<p>Can I get a handle of the opener browser window from PDF?<br />
If I close the PDF using event.target.closeDoc(), the refresh of the browser id not happening. Is it possible?<br />
Refresh of the browser works fine if I didnt close the PDF.</p>
<p>Please find some time to answer this.</p>
<p>THanks<br />
Neeraj</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hasan</title>
		<link>http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/#comment-7145</link>
		<dc:creator>Hasan</dc:creator>
		<pubDate>Tue, 31 Aug 2010 14:09:26 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/#comment-7145</guid>
		<description>HELP: I have a form with a submit button.  When I submit the form in Adobe Reader 9.3.3 I expect a reponse in a browser but instead I get an error message &quot;An error occured during the submit process.  Unknown failure.&quot;  When I try the httpsubmittest.pdf I get the response in the browser.  I have tried to make my form as close as possible to yours and also tried putting my url in yours but it does not work.  I am using ColdFusion 9.0.  I have tried setting response content type to &quot;application/xml; charset=utf-8&quot; to no avail.  Thanks.</description>
		<content:encoded><![CDATA[<p>HELP: I have a form with a submit button.  When I submit the form in Adobe Reader 9.3.3 I expect a reponse in a browser but instead I get an error message &#8220;An error occured during the submit process.  Unknown failure.&#8221;  When I try the httpsubmittest.pdf I get the response in the browser.  I have tried to make my form as close as possible to yours and also tried putting my url in yours but it does not work.  I am using ColdFusion 9.0.  I have tried setting response content type to &#8220;application/xml; charset=utf-8&#8243; to no avail.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jgrd</title>
		<link>http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/#comment-7144</link>
		<dc:creator>jgrd</dc:creator>
		<pubDate>Thu, 22 Jul 2010 15:58:24 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/#comment-7144</guid>
		<description>I&#039;ve found a solution about the HTTP POST problem. The form content (that is xml) is accessible thru an object in Javascript called requestbody. The property requestbody.content contains the actual xml part of the form.

Sorry if this message was a bit out of the way of this thread.
jgrd</description>
		<content:encoded><![CDATA[<p>I&#8217;ve found a solution about the HTTP POST problem. The form content (that is xml) is accessible thru an object in Javascript called requestbody. The property requestbody.content contains the actual xml part of the form.</p>
<p>Sorry if this message was a bit out of the way of this thread.<br />
jgrd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jgrd</title>
		<link>http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/#comment-7143</link>
		<dc:creator>jgrd</dc:creator>
		<pubDate>Thu, 22 Jul 2010 08:36:03 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/#comment-7143</guid>
		<description>Hi,

thanks for your tutorials and  all services your offer to the Pdf forms user community.

I&#039;m trying to send the content of a Pdf form (XFA dynamic) which is based on an Xml Schema to a local Alfresco ECM. I&#039;m facing a problem as I don&#039;t know how to get the xml data on the server side. I&#039;ve posted on http://forums.adobe.com/community/livecycle/livecycle_es/livecycle_designer_es forums about it, but with no answer (as yet).
I know that if I use a url encoded request, all form fields will be flatten and written into the url, and I can get them for rebuilding the xml... But this would be nonsense. If I send the content as Xml or as XDP, I don&#039;t know where the xml content is. This might be simple I guess...

Hope you have time for a tip!
Thanks,
Best regards,
jgrd</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>thanks for your tutorials and  all services your offer to the Pdf forms user community.</p>
<p>I&#8217;m trying to send the content of a Pdf form (XFA dynamic) which is based on an Xml Schema to a local Alfresco ECM. I&#8217;m facing a problem as I don&#8217;t know how to get the xml data on the server side. I&#8217;ve posted on <a href="http://forums.adobe.com/community/livecycle/livecycle_es/livecycle_designer_es" rel="nofollow">http://forums.adobe.com/community/livecycle/livecycle_es/livecycle_designer_es</a> forums about it, but with no answer (as yet).<br />
I know that if I use a url encoded request, all form fields will be flatten and written into the url, and I can get them for rebuilding the xml&#8230; But this would be nonsense. If I send the content as Xml or as XDP, I don&#8217;t know where the xml content is. This might be simple I guess&#8230;</p>
<p>Hope you have time for a tip!<br />
Thanks,<br />
Best regards,<br />
jgrd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Cameron</title>
		<link>http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/#comment-7142</link>
		<dc:creator>Stefan Cameron</dc:creator>
		<pubDate>Sun, 16 May 2010 14:00:34 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/#comment-7142</guid>
		<description>@nabil,

This is very similar to &lt;a href=&quot;http://forms.stefcameron.com/2008/08/28/submitting-form-data-by-email/&quot; rel=&quot;nofollow&quot;&gt;customizing an email submit button&lt;/a&gt;. See the part where the sample script sets the &quot;target&quot; attribute of the &lt;submit&gt; node in the button&#039;s Click event.</description>
		<content:encoded><![CDATA[<p>@nabil,</p>
<p>This is very similar to <a href="http://forms.stefcameron.com/2008/08/28/submitting-form-data-by-email/" rel="nofollow">customizing an email submit button</a>. See the part where the sample script sets the &#8220;target&#8221; attribute of the &lt;submit&gt; node in the button&#8217;s Click event.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nabil</title>
		<link>http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/#comment-7141</link>
		<dc:creator>nabil</dc:creator>
		<pubDate>Mon, 10 May 2010 12:33:27 +0000</pubDate>
		<guid isPermaLink="false">http://forms.stefcameron.com/2009/12/16/testing-http-submit-buttons/#comment-7141</guid>
		<description>Hi,
I want to know how to set the URL of the Submit button dynamiclally, using javascript with the event initialize for exemple.??</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I want to know how to set the URL of the Submit button dynamiclally, using javascript with the event initialize for exemple.??</p>
]]></content:encoded>
	</item>
</channel>
</rss>

