I often just put "print $form_id" at the top of my form_alter function and visit the page with the form to find specific form ids.
On Wed, Jun 24, 2009 at 11:10 AM, Michel Morelli michel@ziobuddalabs.itwrote:
Hi. I have created a view. Now I want to modify the form to add "autocomplete" to one of the exposed filter. I know that I need to use form_alter or form_nameOfTheForm_alter function. But which is the name of the form? I have founded the "id" "view-exposed", but I have a lot of views and I don't want that my script alter all views. Any other solutions ? Check the url ?
Tnx.
-- Michel 'ZioBudda' Morelli michel@ziobuddalabs.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660
http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel@ziobuddalabs.it JABBER: michel@ziobuddalabs.it -- [ Drupal support list | http://lists.drupal.org/ ]