My solution was to copy and paste the AutoComplete code and remove the use of the hidden field. The hidden field was what was being used as the form value and it was only updated when the value typed and/or selected was one of the autocomplete values. Removing the hidden field still allows the jquery autocomplete functionality of selecting and formatting, however if someone didn't want to use of the the autocomplete values, they could type something different and it would be submitted normally with the form.
On Oct 29, 7:10 pm, Trav <[email protected]> wrote: > My goal is to use auto complete for "suggested" text box values. > Unfortunately, when using the AutoComplete wiget, the onsubmit > function receives an empty string if a value is not selected from the > drop down. > > Is there any way around this? > > thanks, > -Trav --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" 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/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
