erich
Hey,
So I am mucking around in the backend a bit which in the long term may pose some problems for me. I want to add some functionality to the user profiles. Namely I want the users to be able to use a drop down box to select their geographic area.
So the way I go about this is by using html.php, and the form functions.
I need a bit of help though
What is the correct syntax for a drop down menu that looks like this:
Location: [MENU BOX] (options being 1, 2, 3, 4, 5)
I know it should look something like this, but this is not quite right and gives me a few errors:
$form->addElement(form_makeMenuField('Location', '1, 2, 3, 4, 5', '', $lang['btn_location']));
I just dont know where I put the actual values though for the drop down box. Also how do I specify where this is stored? In the longterm I want to be able to use their location to display specific information to them on my homepage. Thanks for the help. I will let people know how it goes.
Eric