We have the Brand/Year/Model modification installed and would like to pre-populate a drop down for onf of the new fields it created, "type".
We currently have this in the code:
PHP Code:
{if $productids ne ''}<TD width="15" class="TableSubHead"><INPUT type="checkbox" value="Y" name="fields[type]"></TD>{/if}
<td class="FormButton" nowrap>{$lng.lbl_type}</td>
<td class="ProductDetails">
<input type="text" name="type" size="45" value="{ $product.type}">
How would we change it to a <SELECT statement?
It list doesn't have to be database driven, we only have three types, (Gas, Electric, Common)
I know how to do a regular HTML form <Select ... statement, but I'm not sure how/where to code the database name and field to insert the data selected?