<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[xajax Forums - No result when input field empty]]></title>
		<link>http://community.xajaxproject.org/topic/8291/no-result-when-input-field-empty/</link>
		<description><![CDATA[The most recent posts in No result when input field empty.]]></description>
		<lastBuildDate>Mon, 01 Feb 2010 14:25:59 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: No result when input field empty]]></title>
			<link>http://community.xajaxproject.org/post/29109/#p29109</link>
			<description><![CDATA[Ty ed, the problem is always not solved atm but I had to move on another project.
Ofc no sooner I will come back on this project, I'll update this topic :)]]></description>
			<author><![CDATA[dummy@example.com (xajax_FTW)]]></author>
			<pubDate>Mon, 01 Feb 2010 14:25:59 +0000</pubDate>
			<guid>http://community.xajaxproject.org/post/29109/#p29109</guid>
		</item>
		<item>
			<title><![CDATA[Re: No result when input field empty]]></title>
			<link>http://community.xajaxproject.org/post/29084/#p29084</link>
			<description><![CDATA[Don't think the amper can bother anything...

XAJAX doesn't do anything database wise. It just acts as an agent between the browser nd the server.]]></description>
			<author><![CDATA[dummy@example.com (edrobinson)]]></author>
			<pubDate>Wed, 20 Jan 2010 17:18:42 +0000</pubDate>
			<guid>http://community.xajaxproject.org/post/29084/#p29084</guid>
		</item>
		<item>
			<title><![CDATA[Re: No result when input field empty]]></title>
			<link>http://community.xajaxproject.org/post/29083/#p29083</link>
			<description><![CDATA[I'm in debug mode since the beginning of the afternoon and it seems that the length is not in case, this is the value of the input field which is the problem.
In fact, when the field is empty, xajax select every field in my database and one of these fields must create a problem.

Is it possible that a HTML special char like &#039; can return an error in xajax within a database + xajax code ?

If the special char is not involved I will post my code...

Thank you !]]></description>
			<author><![CDATA[dummy@example.com (xajax_FTW)]]></author>
			<pubDate>Wed, 20 Jan 2010 16:36:17 +0000</pubDate>
			<guid>http://community.xajaxproject.org/post/29083/#p29083</guid>
		</item>
		<item>
			<title><![CDATA[Re: No result when input field empty]]></title>
			<link>http://community.xajaxproject.org/post/29082/#p29082</link>
			<description><![CDATA[This is not the usual behaviour. Could you post some code?

Ed]]></description>
			<author><![CDATA[dummy@example.com (edrobinson)]]></author>
			<pubDate>Wed, 20 Jan 2010 16:21:50 +0000</pubDate>
			<guid>http://community.xajaxproject.org/post/29082/#p29082</guid>
		</item>
		<item>
			<title><![CDATA[No result when input field empty]]></title>
			<link>http://community.xajaxproject.org/post/29080/#p29080</link>
			<description><![CDATA[I have an xajax request which receives data from an input field and a keyup action in js.
These data allows to recover some informations into a database.
Everything works fine except that I would like that the xajax function works when the field is empty, and when the length of the data key in are shorter than 2 chars.

Actually 2 chars at least are required before the process return some results and the process can't return any result if the field is empty.
I've tried onload and onchange actions but it seems to be inefficient.

I have a js function which allows to keep the process on :
function refresh()
{
	xajax_afficher();
	setTimeout(refresh, 2000);
}

I've looked the code of xajax.inc.php and found :
'allowBlankResponse' => false // I first thought that it was a clue but it's not.

Is there any reason which could explains that an empty field or a field < 2 chars doesn't return any result ?


Regards.]]></description>
			<author><![CDATA[dummy@example.com (xajax_FTW)]]></author>
			<pubDate>Wed, 20 Jan 2010 13:59:16 +0000</pubDate>
			<guid>http://community.xajaxproject.org/post/29080/#p29080</guid>
		</item>
	</channel>
</rss>
