Hi Daniel,

Thanks for your quick and consciencious answer.
I don't want to overload client-side treatments with an each-letter-
triggered call.
Above all, this would be a "relatively" heavy treatment as you would
have to access the autocomplete list, then search in it for cohesions.

I thought there would be a "one parameter set" way of doing that, as I
often see it on some websites.

But once again, thanks for your suggestion.

On 23 juin, 16:17, Richtermeister <[EMAIL PROTECTED]> wrote:
> Hi Shinkan,
>
> that sounds like a chicken & egg problem, where you can't disable the
> field completely, since the user would never be able to trigger it.. I
> guess you would need to watch userinput on this field, and on every
> keystroke ensure that you only allow letters that make sense with what
> is in the select fields. If the users strikes a letter that is not
> "valid", you can remove it.. (Obviously this should only apply after
> the initial list of options is loaded).
>
> Let me know if this is interesting to you and I can help with the JS
> code as well,
> Daniel
>
> On Jun 23, 1:03 am, Shinkan <[EMAIL PROTECTED]> wrote:
>
> > Hi Everyone !
>
> > Don't you know if there is a mean to force user selecting an
> > autocomplete list choice when using input_auto_complete_tag ?
> > I would like the input_auto_complete_tag to be kinda "read-only" : the
> > user could only select something in the autocomplete list, but would
> > not be able to type something in the input_tag which is not in the
> > autocomplete list.
>
> > Thanks in advance, that would be really helpful.
>
> > PS: Some of you may ask : "Hey ?! You're looking for a select_tag !"
> > But ... no ! With a select tag I can't dynamically update options to
> > select easily. Then ... try using a select tag with z-indexed stacked
> > divs on browser <= IE6 ... you'll quickly want something else too.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to