ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

default drop down menu value

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • default drop down menu value

    I currently have a web catalog administrator page that when I set up new accounts I have to select the properties in a drop down menu everytime. How can I make it so that the values are set to a default value that I can change if need be? here is what the code right now looks like

    <!-- Web Hold Code for web orders (drop down) -->
    <TR>
    <TD align="right" class="label"><bean:message key="admin.form.account.option.HoldCode" />:</TD>
    <TD class="input">
    <html:select property="holdCode" styleClass="label" >
    <OPTION value=""><bean:message key="admin.common.selectone"/></OPTION>
    <htmlptionsCollection property="holdCodes" label="hcd_hold" value="hcd_id" />
    </html:select>
    </TD>
    </TR>
Working...
X