Re: [Proto-Scripty] Re: Preventing Autocompleter

2010-07-05 Thread Jonathan Snelling
There should be a before or a conditional parameter you can pass. That
returns true to continue or false to not send the request.

On Monday, July 5, 2010, infringer  wrote:
> No takers?  I guess there is no way to do this?
>
> On Jul 1, 6:51 pm, infringer  wrote:
>> I have an autocompleter on a City field.  But I don't want it to send
>> the request UNLESS the state field is filled in?
>>
>> Any suggestions on how to prevent it from sending the request?  No
>> need for the unnecessary requests going back and forth.
>>
>> Thanks,
>> -David
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Prototype & script.aculo.us" group.
> To post to this group, send email to prototype-scriptacul...@googlegroups.com.
> To unsubscribe from this group, send email to 
> prototype-scriptaculous+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



Re: [Proto-Scripty] Re: Preventing Autocompleter

2010-07-05 Thread David Behler
 I don't think there is a built-in functionaltity for that. But you 
could edit the autocompleter class and add the check yourself right 
before the request is done.


David

Am 05.07.2010 18:54, schrieb infringer:

No takers?  I guess there is no way to do this?

On Jul 1, 6:51 pm, infringer  wrote:

I have an autocompleter on a City field.  But I don't want it to send
the request UNLESS the state field is filled in?

Any suggestions on how to prevent it from sending the request?  No
need for the unnecessary requests going back and forth.

Thanks,
-David


--
You received this message because you are subscribed to the Google Groups "Prototype 
& script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.