
Practical, handy feature with ease
If you are using CCK for your forms, you should leverage the ease and power of this module instead.
Implementing an autocomplete widget in Drupal is easy because Drupal 6 comes with this functionality right of the box.
You can tap into this powerful feature by creating a simple module with a "form_alter" snippets that alter the form's [#autocomplete_path] elements to point to your function that generate the desired values, and then send the values to the browser by "print drupal_to_js($values)".
Sometimes creating a module is overkill, especially if you just want to "Autocomplete for existing field data".
If you are using CCK for your forms, you should leverage the power of this module instead.
Thanks to markus_petrux for his yet another great contribution.
Review by dannygoh [info] on April 27, 2010 - 07:48