in links.def where the code starts:
# Hash of column names to possible options. If you want to use a select form
# field, you can use &build_select_field in your HTML page. This routine will
# make a <SELECT> input tag using the following values:
%db_select_fields = (
isNew => 'Yes,No',
isPopular => 'Yes,No',
ReceiveMail => 'Yes,No',
add
'State / Province'=> 'Alabama,Alaska,Alberta,Arizona,Arkansas,British_Columbia,California,Colorado,Connecticut,Delaware,Florida,Georgia,Hawaii,Idaho,Illinois,Ind iana,Iowa,Kansas,Kentucky,Louisiana,Maine,Manitoba,Maryland,Massachusetts,Michigan,Minnesota,Mississippi,Missouri,Montana,Nebraska,Nevada,Ne w_Brunswick,New_Hampshire,New_Jersey,New_Mexico,New_York,Newfoundland,North_Carolina,North_Dakota,Northwest_Territories,Nova_Scotia,Ohio,Okl ahoma,Ontario,Oregon,Pennsylvania,Prince_Edward_Island,Puerto_Rico,Quebec,Rhode_Island,Saskatchewan,South_Carolina,South_Dakota,Tennessee,Te xas,Utah,Vermont,Virginia,Virgin_Islands,Washington_state,Washington_DC,West_Virginia,Wisconsin,Wyoming,Yukon'
before the last )
At the top where it has:
# Definition of your database file.
define the appropiate field like:
'State / Province'=> [5, 'alpha', 0, 65, 1, '', ''],
You can change the field name (in both places) to correspond to your own field names.
I don't recall if the site_html.pl had to be changed or not though. You'll have to work on it from there. And remember always back it up before trying to modify it!
Dan O.