By amirn on
Hi,
I'm using the form_alter hook to add few fields to a View's exposed filter using the form api.
One of those fields has a autocomplete feature
$form[myfield]['#autocomplete_path'] = "my/path"
this is working fine in a page View and also works fine when I exposde the view to a block until I enable block caching in the performace admin page.
now the page View is working fine as before but the exposed block is not working (may work once in a while, but mostly not)
disabling block caching fix it.
is there any solution? or am i doing something wrong?
(my only idea for a workaround is to use the block_hook and set the cache mode to BLOCK_NO_CACHE for that single block)
Thanks