Convert a regular autocomplete field into an autocomplete deluxe field? I am using the following code.

   $form['usershare'] = array(
     '#title' =&gt; t('Share Collection Internally - Example: Alice, Bob, Pat'),                                                                                                                                                                                                                  
     '#type' =&gt; 'textfield',
     '#default_value' =&gt; empty($flag-&gt;usershare) ? '' : $flag-&gt;usershare,
     '#autocomplete_path' =&gt; 'user/autocomplete/fl',
     '#multiple' =&gt; 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.
As per the README.txt file, something like this should work


   $form['field_term_ref_tid'] = array(
     '#type' =&gt; 'autocomplete_deluxe',
     '#autocomplete_deluxe_path' =&gt; url(
       'autocomplete_deluxe/taxonomy/field_term_ref',
       array('absolute' =&gt; TRUE)
     ),
     '#multiple' =&gt; TRUE,
     '#autocomplete_min_length' =&gt; 0,
     '#autocomplete_multiple_delimiter' =&gt; ',',
     '#not_found_message' =&gt; "The term '@term' will be added.",
   );