Question
Default selected in List/Menu from DB
DW 8.0.2
ASP/VBScript
MS SQL Server
I want to have my List/Menu in a form default to a value in DB. However, the
value in the DB needs to be compared with the ITEM LABEL not the VALUE in
the List/Menu.
When using the Dreamweaver Dynamic List/Menu hte only option seems to be to
compare it to the List?Menu value and not the label.
the form List/Menu is static and lists all 50 US State abbriviations as the
label and the state tax-rate as the values. The Database lists the state
abbriviation. I want the list to default to what the BD has (i.e. CA)
<option value="0">AK</option>
<option value="0">AL</option>
<option value=0.0825">CA</option>
etc...
ASP/VBScript
MS SQL Server
I want to have my List/Menu in a form default to a value in DB. However, the
value in the DB needs to be compared with the ITEM LABEL not the VALUE in
the List/Menu.
When using the Dreamweaver Dynamic List/Menu hte only option seems to be to
compare it to the List?Menu value and not the label.
the form List/Menu is static and lists all 50 US State abbriviations as the
label and the state tax-rate as the values. The Database lists the state
abbriviation. I want the list to default to what the BD has (i.e. CA)
<option value="0">AK</option>
<option value="0">AL</option>
<option value=0.0825">CA</option>
etc...
