Padding Padding
Janet
Systems
 Register  Login 
Telephone  01628 566 178
Website Design, Hosting and Software Services
  Search 
Padding
corner Padding corner
Padding Padding
corner Padding corner
 ASP Articles

A client wanted a simple form to be completed, with the results e-mailed to them.  The short piece of code, given below, simply steps through each of the fields in the form and builds up the detail for the message.  It is much easier than handling each of the form fields. Also, changes made to the form do not require a corresponding change to be made on thte form handler.

<%
For Each x In Request.Form
message = message & x & ": " & Request.Form(x) & CHR(10)
Next
%>

 


This article viewed: 1139 times Back

Copyright © 2004-2007 Janet Systems Ltd.

 Print   

DotNetNuke Website design and hosting from £15.00 per month. More...

Looking for a website design company in the Thames Valley, call us on 01628 566178

DotNetNuke Modules
DotNetNuke Modules availalble from Janet Systems

DotNetNuke Skins
DotNetNukeSkins.gif

from Janet Systems

Padding
Copyright 2002-2008 Janet Systems Ltd.   Terms Of Use  Privacy Statement Tuesday, May 13, 2008