tpl/adp/forms.adp:
<%#-*- mode:web; fill-column:120 -*-%>
<hr>
<p>
<a href="show_file.adp?path=tpl/adp/forms.adp" title="Show the forms.adp template">Sample form</a>
/ Submission result: You <span style="background:yellow;"><%=$::form::verb%> me: <q><%=[ns_quotehtml $::form::value]%></q>.</span>
</p>
<ul>
<li><a href="?">Self GET w/o query string</a></li>
<li><a href="?value=apples">Self GET with query string <code>value=apples</code></a></li>
<li>
<form action="?" method="post">
<label for="value">Self POST</label>
<input type="text" id="value" name="value" size="20" value="oranges" />
<input type="submit" />
</form>
</li>
</ul>