[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML
webmaster@zope.org
webmaster@zope.org
Sun, 05 Jan 2003 15:53:08 -0500
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#2-87
---------------
Here's the upload form::
<dtml-var standard_html_header>
<p>Send you resume to potential employers</p>
<form method=post action="sendresume" ENCTYPE="multipart/form-data">
<p>Resume file: <input type="file" name="resume_file"></p>
<p>Send to:</p>
<p>
<input type="checkbox" name="send_to:list" value="jobs@yahoo.com">
Yahoo<br>
<input type="checkbox" name="send_to:list" value="jobs@microsoft.com">
Microsoft<br>
<input type="checkbox" name="send_to:list" value="jobs@mcdonalds.com">
McDonalds</p>
<input type=submit value="Send Resume">
</form>
<dtml-var standard_html_footer>
% Anonymous User - Oct. 16, 2002 8:53 pm:
Why does the name field of the checkbox contain the ":list" part? What does that do?
% Anonymous User - Jan. 5, 2003 3:53 pm:
This is standard HTML, to tell the browser that all these options belong to the SAME check box widget on
screen.