All you have to do is replace the <%Home::HTML...%> tag with raw html code, i.e: here is the add form for Listing table:
<body>
Description: <input type="text" name="Description" value="<%if Description%><%Description%><%endif%>" size="50"/>
CatID:
<select id="cat" name="CatID" onchange="loadSub(this.options[this.selectedIndex].value)">
<%loop cats%><option value="<%CatID%>"><%CategoryName%></option><%endloop%>
</select>
SubCat:
<select id="subcat" name="SubCatID">
</select>
....
B.
<body>
Description: <input type="text" name="Description" value="<%if Description%><%Description%><%endif%>" size="50"/>
CatID:
<select id="cat" name="CatID" onchange="loadSub(this.options[this.selectedIndex].value)">
<%loop cats%><option value="<%CatID%>"><%CategoryName%></option><%endloop%>
</select>
SubCat:
<select id="subcat" name="SubCatID">
</select>
....
B.