First, to use a form, you should really check the way the current zen contact us page works, that will give you the general idea (tho to tell the truth, I dont really like its current way of doing that)

There are many files you need to check:
includes/mouldes/pages/contact_us
includes/templates/template_default/templates/tpl_contact_us_default.php

The files above will give you the general idea.

Regarding the vbcode, I now notice it is commented out?

Code:
<!-- &lt;%
Dim i
response.write "<input name="txtMax" id="txtMax" value="4" type="hidden">"
for i = 1 to 4
%&gt; 
    &lt;%   
next
%&gt; -->
It should be removed anyway, as it will not work for you.