PDA

View Full Version : Create a dropdown for a custom user field, is this possible?


JoshFink
06-05-2001, 02:57 AM
I want to create a custom user field that uses a list from table to populate it. Kind of like when you have multiple stlyes and you go to Edit Options and drop down the style sets.

User Field id = 5
User Field name = Neighborhood

Table in Database : P_Neighborhoods
Columns in Table :

ID - SmallInt(5)
subforum - Char(30)
Title - Char (40)

I want to display the title field but store the subforum field.

Thanks for all the help,

Josh

JoshFink
06-06-2001, 04:16 AM
Anyone? :confused:

BradC
06-06-2001, 10:57 PM
Josh bud.. if ya don't mind elaborating on it a little more.. so that I might be able to totally grasp what you are needing, I *might* be able to help lol

JoshFink
06-06-2001, 11:00 PM
I would like to add an extra user profile field called "Neighborhoods", ok, no problem there.. Done right through the CP.

Now, I want to make the field a drop down in the Registration process and the Edit Profile from the user CP that pulls its info from an a table that I'm going to add to the database.

Kind of works like the "Style" drop down does, where it lets you select the different styles as the default style.

Josh