<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Activate Ajax on Input Text Field]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9289&amp;type=atom" />
	<updated>2021-05-05T10:48:01Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=9289</id>
		<entry>
			<title type="html"><![CDATA[Re: Activate Ajax on Input Text Field]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=39407#p39407" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>boxygen wrote:</cite><blockquote><p>Is there any way we can activate Ajax on Input Text Field if the value is changed then Ajax is called?</p></blockquote></div><p>Yes, you can use text_cells_ex helper which has optional submit_on_change parameter.</p><p>Braath Waate suggested commit seems to be part of wider code change, so I think it would be easier just to use existing helper option in your customization.</p><p>J.</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2021-05-05T10:48:01Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=39407#p39407</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Activate Ajax on Input Text Field]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=39399#p39399" />
			<content type="html"><![CDATA[<p>This is such a great input. I highly recommend to include this in Core</p>]]></content>
			<author>
				<name><![CDATA[boxygen]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20175</uri>
			</author>
			<updated>2021-05-04T09:07:40Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=39399#p39399</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Activate Ajax on Input Text Field]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=39392#p39392" />
			<content type="html"><![CDATA[<p>For a non-jquery approach, see <a href="https://github.com/braathwaate/frontac24/commit/4d1fc0bbf1814982d90dfc93a245fab89ad80890#diff-2aafc753d55e363fc7cf2e67b60680c7fcd617aacdd06048aed77448e3de047d">this commit in my fork</a>.</p>]]></content>
			<author>
				<name><![CDATA[Braath Waate]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41493</uri>
			</author>
			<updated>2021-05-03T12:33:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=39392#p39392</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Activate Ajax on Input Text Field]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=39391#p39391" />
			<content type="html"><![CDATA[<p>I have tried to use Jquery to validate some form fields based on input value.<br />It works fine but when the default FA Ajax is called on the page the jquery doesn&#039;t load and hence no validations are done.</p><p>I have added this in themes renderer.php menu_header() function.</p><div class="codebox"><pre><code>add_js_ufile(&quot;$theme_path/libraries/jquery-1.10.2.min.js&quot;);

send_scripts();</code></pre></div><p>Where else I shall add this to ensure that it works even after default Ajax Call on the page?</p><p>Please guide.</p>]]></content>
			<author>
				<name><![CDATA[boxygen]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20175</uri>
			</author>
			<updated>2021-05-03T12:10:38Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=39391#p39391</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Activate Ajax on Input Text Field]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=39390#p39390" />
			<content type="html"><![CDATA[<p>In FA we can activate Ajax on Combo fields by setting Submit_on_Change to true.</p><p>Is there any way we can activate Ajax on Input Text Field if the value is changed then Ajax is called?</p>]]></content>
			<author>
				<name><![CDATA[boxygen]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20175</uri>
			</author>
			<updated>2021-05-03T09:29:33Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=39390#p39390</id>
		</entry>
</feed>
