I am using the following code.
$form['usershare'] = array(
'#title' => t('Share Collection Internally - Example: Alice, Bob, Pat'),
'#type' => 'textfield',
'#default_value' => empty($flag->usershare) ? '' : $flag->usershare,
'#autocomplete_path' => 'user/autocomplete/fl',
'#multiple' => TRUE,
);
I installed the Autocomplete Deluxe module.
How do I convert the code I am using to have a form field that uses autocomplete deluxe?
I tried changing the form field type to autocomplete_deluxe, but that didn't work as only a blank input box shows up.