<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Logic error in form submision - Create Company Form]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=1147&amp;type=atom" />
	<updated>2010-03-01T10:14:31Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=1147</id>
		<entry>
			<title type="html"><![CDATA[Re: Logic error in form submision - Create Company Form]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=5051#p5051" />
			<content type="html"><![CDATA[<p>Fixed in CVS Main. Thanks.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2010-03-01T10:14:31Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=5051#p5051</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Logic error in form submision - Create Company Form]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=5049#p5049" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>else {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.forms[0].action=&#039;create_coy.php?c=u&amp;id=&quot; . $n . &quot;&amp;fn=&#039; + document.forms[0].uploadfile.value<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</p></blockquote></div><p>should actually be<br /></p><div class="quotebox"><blockquote><p>else {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.forms[0].action=&#039;create_coy.php?c=u&amp;id=&quot; . $n<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2010-03-01T09:31:22Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=5049#p5049</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Logic error in form submision - Create Company Form]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=5043#p5043" />
			<content type="html"><![CDATA[<p>Refer to the lines 303-312 in admin/create_coy.php :-<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;script language=&#039;javascript&#039;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; function updateCompany() {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (document.forms[0].uploadfile.value!=&#039;&#039; &amp;&amp; document.forms[0].dbname.value!=&#039;&#039;) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.forms[0].action=&#039;create_coy.php?c=u&amp;ul=1&amp;id=&quot; . $n . &quot;&amp;fn=&#039; + document.forms[0].uploadfile.value<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.forms[0].action=&#039;create_coy.php?c=u&amp;id=&quot; . $n . &quot;&amp;fn=&#039; + document.forms[0].uploadfile.value<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.forms[0].submit()<br />&nbsp; &nbsp; &nbsp; &nbsp; }</p><p>The else statement alludes to uploadfile.value when it is non-existent.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2010-03-01T05:14:15Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=5043#p5043</id>
		</entry>
</feed>
