WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Forcing the autocomplete to be run in [event_form] regardless of focus (3 posts)

  1. Daedalon
    Member
    Posted 1 year ago #

    Is it possible to force the autocomplete to be run in [event_form] and the results to be displayed regardless of whether #location-name has focus or not? Specifically I'd like the user to see the autocomplete results despite them having pressed Tab to move on to another field.

    This would reduce the amount of duplicate location submissions greatly.

    http://wordpress.org/extend/plugins/events-manager/

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    possible, but you'd need to add this functionality yourself :) you'd need to add two letters as well to trigger a search

  3. Daedalon
    Member
    Posted 1 year ago #

    I just thought that the best way to do this would likely be to add a $('#location-name').onblur();. Sometimes it's good to take some time off a topic to clear your mind ;)

    Is there a way I can use something like that to call EM's autocomplete function? I think the last time I tried I didn't find a way to do that, but I'd hate to create duplicate code for performing the autocomplete.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.