Hi

You can test if the textfield input is != than "" to perform your search. In
this case it won't search when clicking in the "clear" button neither if the
user select and remove the text inside the field.

On Thu, Sep 3, 2009 at 10:08 AM, skar <[email protected]> wrote:

> Hi,
>
> I've got a search form with some selectbox, textfields and date fields.
> When the search is done and user wants to search again, I've got a
> "clear" button to clear all fields to their default options. However, I
> don't want the changeValue() listener to the textfields/selectbox to
> trigger in this case. When the user manually selects or types something,
> the changeValue() listener does the search action, but it'd be
> meaningless in this case of "reset". Any idea on how to differentiate
> between reset and user's changes of a field?
>
> cheers,
> skar.
>
> --
> --
> The life so short, the craft so long to learn.
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to