[development] Convert location Distance to dropdown

Kyle Mathews mathews.kyle at gmail.com
Wed Jul 14 18:16:07 UTC 2010


hook_form_alter is your friend -
http://api.drupal.org/api/function/hook_form_alter/6

<http://api.drupal.org/api/function/hook_form_alter/6>It'll let you change
the form programatically.

--
Kyle Mathews

Blog: kyle.mathews2000.com/blog
Twitter: http://twitter.com/kylemathews
Company: http://eduglu.com


On Wed, Jul 14, 2010 at 11:00 AM, Michael Vovchak <vovchak at gmail.com> wrote:

> Hello, I have a location proximity search installed (gmap, location) and
> trying to figure out if there is a way to convert the Distance field
> from textfield to dropdown box with 5/10/15/20/ till 50 km, is there any
> easy way to do that?
>
> Thanks
>
> --
> Mike Vovchak
> vovchak at gmail.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20100714/0d73526d/attachment.html 


More information about the development mailing list