Support » Plugin: Events Manager » Forcing the autocomplete to be run in [event_form] regardless of focus

  • Resolved Daedalon

    (@daedalon)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Marcus

    (@netweblogic)

    possible, but you’d need to add this functionality yourself 🙂 you’d need to add two letters as well to trigger a search

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Forcing the autocomplete to be run in [event_form] regardless of focus’ is closed to new replies.