<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — How To Retrieve Request Payload Custom Form In FA]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9447&amp;type=atom" />
	<updated>2021-08-30T12:51:49Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=9447</id>
		<entry>
			<title type="html"><![CDATA[Re: How To Retrieve Request Payload Custom Form In FA]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=39955#p39955" />
			<content type="html"><![CDATA[<p>now i can,,,<br />just change the submit_cell like this<br /></p><div class="codebox"><pre><code>submit_cells(&#039;SubmitLogin&#039;, _(&quot;Login iBanking&quot;), true, &#039;&#039;, false);</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ardyan]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46182</uri>
			</author>
			<updated>2021-08-30T12:51:49Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=39955#p39955</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[How To Retrieve Request Payload Custom Form In FA]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=39954#p39954" />
			<content type="html"><![CDATA[<p>i want to create custom form, but i cant retrieve the request by method POST/GET, the request always use ajax JsHttpRequest.<br />how to change method request used PHP POST method?</p><p>this my script:<br /></p><div class="codebox"><pre><code>start_form(true);
start_table(TABLESTYLE_NOBORDER);
start_row();

date_cells(_(&quot;From:&quot;), &#039;FromDate&#039;);
date_cells(_(&quot;To:&quot;), &#039;ToDate&#039;);
banking_types_list_cells(_(&quot;Banking Type:&quot;), &quot;BankingType&quot;);
submit_cells(&#039;SubmitLogin&#039;, _(&quot;Login iBanking&quot;), true, &#039;&#039;, &#039;default&#039;);
end_row();
end_table();
end_form();</code></pre></div><p>i use this for retrieve:<br /></p><div class="codebox"><pre><code>if(get_post(&#039;SubmitLogin&#039;) || isset($_POST[&#039;SubmitLogin&#039;]) || isset($_GET[&#039;SubmitLogin&#039;])) </code></pre></div><p>and i try use this too:<br /></p><div class="codebox"><pre><code>json_decode(file_get_contents(&#039;php://input&#039;), true);</code></pre></div><p>but the both still can&#039;t retrieve.</p><p>thanks<br />ardy</p>]]></content>
			<author>
				<name><![CDATA[ardyan]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46182</uri>
			</author>
			<updated>2021-08-30T12:24:23Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=39954#p39954</id>
		</entry>
</feed>
