Roundcube Community Forum

 

Autocomplete in plugin

Started by bouba, April 05, 2012, 04:23:19 AM

Previous topic - Next topic

bouba

Hi,

is it possible to use the autocomplete address function (in use in compose action) in a plugin?
I found a function "rcube_autocomplete_init()" that puts some js var in the page, but nothing happen when i type something in the "_to" field in my plugin.

How can i use the autocomplete function in a plugin?

thanks!

SKaero

You'd need to setup a js function to watch the to field and then post the data to ?_task=mail&_action=autocomplete.

bouba