PDA

View Full Version : Dropdown lists or list boxes for User Profile fields..


MGSteve
08-08-2002, 11:31 AM
Hi, I've looked through the hacks and can't seem to find this hack - what I want to do is have 2 required fields where the users have to select their country & state / county and then this would get saved to the user profile fields.

I.e. For Country you would have something like

ID | Country
1 | UK
2 | USA
3 | France

etc...

Then when the user selects "UK" from the list, 1 would get saved to the field. I need the numbers saved rather than the txt because adverts will be shown depending on where they live and its quicker to match on a number than text when doing the query.

If anyone can either make this hack or point me in the right direction, I'd be forever grateful.

Cheers!

Regards


Steve Childs,
www.mg-rover.org

Erwin
08-08-2002, 08:06 PM
There's a hack for this already. Search for it again. I've installed it and it works.

MGSteve
08-08-2002, 08:42 PM
I've just searched again, still can't find it. Don't suppose you can remember what it was called can you?

MGSteve
08-08-2002, 08:45 PM
typical, just found it.

Thanks for the heads up Erwin. If anyone else is interested, you can find it here: https://vborg.vbsupport.ru/showthread.php?s=&threadid=21833&highlight=user+profile+field