Custom Profile Field - Changing value attribute?
I would like to add a custom user field so that my users can specify in what country they originate.
The problem is, I need to be able to set the value attributes of the option tags instead of using the number values that are automatically generated from a "select box" custom field in vb.
For example, at the moment I get:
<option value="1" selected="selected">Afghanistan</option>
<option value="2" >Albania</option> ...and so on..
What I want is (notice the custom value attribute):
<option value="AF" selected="selected">Afghanistan</option>
<option value="AL" >Albania</option>
Is there anyway to do this?
Thanks for any help
|