I can get a select list to work using the vars @STATE_ABBREVIATIONS,
@STATE_NAMES which are retrieved from %STATES.  To retrieve a value from
this hash I would enter:
$STATES{'NY'}{'name'} or $STATES{'NY'}{'code'}...

If I don't care about the list order then the following works fine:

<SELECT NAME="state">
        <OPTION VALUE="[+ $STATE_ABBREVIATIONS[$row]
+]">$STATE_NAMES[$row]</OPTION>
</SELECT>

If I attempt to re-oder the state abbreviations the abbreviations are
ordered properly but they, of course, do not correlate to the correct
state.

I attempted to do: $STATES{$STATE_ABBREVIATIONS[$row]} for the list
display name but it came back empty.  Can something like this be done by
HTMLEmbperl or do I have to handle this myself?
--
__________________________________________________________
Mr. Erich L. Markert                     [EMAIL PROTECTED]
Computer Learning Center                 TEL (914)422-4328
Pace University
1 Martine Ave
White Plains, New York 10606-1932

Those who do not understand Unix are condemned to reinvent it, poorly.
                -- Henry Spencer

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to