[support] More effective use of auto-complete in Profile

Grace Aroha gracearoha at auroville.org.in
Thu Mar 8 05:18:12 UTC 2007


I am also looking for the same function for an international site.  I am not a coder and have no idea about how to go about creating these dependent drop-downs.  In the meantime, i would like to make due with a simple drop-down list of the global state/province list that is in civicrm.

I have created a custom (project) profile form in Drupal and would like to know the simplest way to export the global state/province list that is in civicrm into a cck custom field list.
does anyone know how i can do this?

thanks,
grace

*********** REPLY SEPARATOR ***********

On 3/7/2007 at 11:40 PM Neil: esl-lounge.com wrote:
Laura, 

I have already looked at the Location module and it isn't quite what I want, although I may revisit it. This is going to be a global site and the txt files available are not complete. Once I have a basic Profile/Register page set up with autocomplete working to gather users' towns, I may look to Location as a additional tool but it isn't complete enough (yet) to do what I want. Maybe I didn't spend enough time on it.

My original idea was to use dependent dropdowns as a way of avoiding free text boxes and cut down on misspellings, etc. It seems nye on impossible to get effective dependent dropdowns set up on Drupal and we have been pulling our hair out over the DependantDropdown module which is buggy and with zero documentation. So now our attention has turned to this autocomplete idea as long as we can pre-populate and if possible, add other info (such as state) to the dropdown itself once a user starts typing. 

Thanks for your response.

Neil
----- Original Message ----- 
From: Laura Scott 
To: support at drupal.org 
Sent: Wednesday, March 07, 2007 5:47 PM
Subject: Re: [support] More effective use of auto-complete in Profile


On Mar 7, 2007, at 4:58 AM, Neil: esl-lounge.com wrote:


Unfortunately, I have a selection of 23,000 towns so that is not practical. 
Isn't there a way of getting the autocomplete to "look" in a different table 
for values?


I wonder if it might be more direct to build off of the location module as it already works with user profiles and has this info in the us zipcodes table (albeit with some cities listed multiple times, listed once for each zip code contained within). Then the issue is doing the autocomplete ajaxy interface with otherwise existing functionality. Or am I missing something?


Laura





-- 
[ Drupal support list | http://lists.drupal.org/ ]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20070308/b71306b8/attachment-0003.htm 


More information about the support mailing list