<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Change form multipart not using ajax]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=6989</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6989&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Change form multipart not using ajax.]]></description>
		<lastBuildDate>Sun, 24 Sep 2017 21:18:13 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Change form multipart not using ajax]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=28715#p28715</link>
			<description><![CDATA[<p>To make the $_GET variables persistent, copy it to the session variable.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 24 Sep 2017 21:18:13 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=28715#p28715</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change form multipart not using ajax]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=28713#p28713</link>
			<description><![CDATA[<p>Here is the function </p><div class="codebox"><pre><code> start_form </code></pre></div><p>.</p><div class="codebox"><pre><code>function start_form($multi=false, $dummy=false, $action=&quot;&quot;, $name=&quot;&quot;)
{
    // $dummy - leaved for compatibility with 2.0 API
    global $form_nested;

    if (++$form_nested) return;

    if ($name != &quot;&quot;)
        $name = &quot;name=&#039;$name&#039;&quot;;
    if ($action == &quot;&quot;)
        $action = $_SERVER[&#039;PHP_SELF&#039;];

    if ($multi)
        echo &quot;&lt;form enctype=&#039;multipart/form-data&#039; method=&#039;post&#039; action=&#039;$action&#039; $name&gt;\n&quot;;
    else
        echo &quot;&lt;form method=&#039;post&#039; action=&#039;$action&#039; $name&gt;\n&quot;;

}</code></pre></div><p>You need to add an extra parameter and write this function on your specific need. But i think that ajax processing and ordinary form submit can be defined on the submit button function.Try&nbsp; glance the </p><div class="codebox"><pre><code> submit</code></pre></div><p> function to know more</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Sun, 24 Sep 2017 06:25:35 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=28713#p28713</guid>
		</item>
		<item>
			<title><![CDATA[Change form multipart not using ajax]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=28711#p28711</link>
			<description><![CDATA[<p>Hello,</p><p>I notice that ordinary form and multipart form (for uploading file) works differently. Ordinary form will use normal http request while multipart form use ajax. It is indicated by the url. Ordinary form change the url (if there are get variable, it will be disappear) but in multipart form it doesn&#039;t change.</p><p>This behavior cause the javascript I made that is placed after submit process is not executed. Is there any way to fix this?</p><p>I think best solution is deactivate ajax processing for multipart form.</p>]]></description>
			<author><![CDATA[null@example.com (barbarian)]]></author>
			<pubDate>Sun, 24 Sep 2017 02:17:32 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=28711#p28711</guid>
		</item>
	</channel>
</rss>
