# Web Development Toolkit

## Field Menu

| You can add a menu to an inpuit element in the template by using the <EWDT:edbm1> tag. The field name is the parameter in this case.
| <select id="T_MASTER_DAT.UNIT" name="T_MASTER_DAT.UNIT" value=" <EWDT:edb valueName='fld_val' fieldName='T_MASTER_DAT.UNIT'></EWDT:edb>"> <option value=""></option> <EWDT:edbm1 fieldName="T_MASTER_DAT.UNIT"> <option value="<%=value%>" <% if (value.equals(fieldValue)) { %>selected<% } %>> <%=selectionText%> </option> </EWDT:edbm1> </select>
| The menu for a particular field is defined in the field assignment in the repository.