On Tue, Dec 4, 2012 at 8:52 AM, tonym <[email protected]> wrote:
> Hi All,
> two features I'm looking to achieve, and I can't see how to use name-one to
> achieve it.  May be these are enhancements to name-one?...
>
> 1. I need name-one to behave as normal if the user selects from the list,
> but if they just type something in that is not in the autocomplete list,
> then I need to detect this (with jquery ideally) and reveal a sub-form (in
> hidden div) to gather the info to create a new record (adding to that
> autocomplete list for future).  Does name-one fire javascript that I can
> hook in to?

Which name-one are you using?   The script.aculo.us one from 1.3,
hobo_jquery_ui or hobo_bootstrap_ui?  The latter two fire events,
check the documentation for the underlying toolkit for more details.

>
> 2. If the user selects from the autocomplete list then I need more than one
> field from that record (e.g. I need to populate name as normal and then
> pre-populate another field with email address, from the autocomplete record
> just selected).
>

a hot-input wrapper should be able to accomplish that.   Check the
documentation for hot-input, and come back if you have any questions.

Bryan

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
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/hobousers?hl=en.

Reply via email to