Listing 4. DTML Document Containing HTML Form
<dtml-var standard_html_header>
<h2><dtml-var title_or_id></h2>
<form method="POST" action="insert_address">
<input type="text" name="first_name">
<input type="text" name="last_name">
<input type="text" name="address1">
<input type="text" name="address2">
<input type="text" name="city">
<input type="text" name="state_province">
<input type="text" name="postal_code">
<input type="text" name="phone_number">
<input type="text" name="fax_number">
<input type="text" name="cell_number">
<input type="submit">
</form>
<dtml-var standard_html_footer>
Copyright © 1994 - 2019 Linux Journal. All rights reserved.