[support] Name of a view for alter form
William Smith
william.darren at gmail.com
Wed Jun 24 16:07:22 UTC 2009
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 at ziobuddalabs.it>wrote:
> 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 at 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 at ziobuddalabs.it
> JABBER:
> michel at ziobuddalabs.it
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.drupal.org/pipermail/support/attachments/20090624/8da8d2a7/attachment.htm>
More information about the support
mailing list