ASP 101 - Active Server Pages 101 - Web01
The Place ASP Developers Go!

Please visit our partners


Windows Technology Windows Technology
15 Seconds
4GuysFromRolla.com
ASP 101
ASP Wire
VB Forums
VB Wire
WinDrivers.com
internet.commerce internet.commerce
Partners & Affiliates














ASP 101 is an
internet.com site
ASP 101 is an internet.com site
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash





Sample HTML Code generated by the ASP:
	<form action="/samples/phonemsg.asp" method="post">
	<input type="hidden" name="action" value="send" />
	<table border="0" cellspacing="0" cellpadding="0"><tr><td>
	<table border="0" cellspacing="2" cellpadding="2">
		<tr>
			<td colspan="4" align="center">
				<font size="+2"><b>While You Were Out</b></font>
			</td>
		</tr>
		<tr>
			<td align="right">Message For:</td>
			<td colspan="3">
				<input type="text" name="to" value="Enter Email" size="30" />
				<!--
				<select name="to" />
				<option value="Fred Doe <noone@asp101.com>">Fred Doe <noone@asp101.com></option>
<option value="John Doe <noone@asp101.com>">John Doe <noone@asp101.com></option>
<option value="Jane Doe <noone@asp101.com>">Jane Doe <noone@asp101.com></option>
<option value="Nancy Doe <noone@asp101.com>">Nancy Doe <noone@asp101.com></option>
				</select>
				-->
			</td>
		</tr>
		<tr>
			<td align="right">Taken By:</td>
			<td colspan="3">
				<select name="takenby" />
				<option value="Fred Doe <noone@asp101.com>">Fred Doe <noone@asp101.com></option>
<option value="John Doe <noone@asp101.com>">John Doe <noone@asp101.com></option>
<option value="Jane Doe <noone@asp101.com>">Jane Doe <noone@asp101.com></option>
<option value="Nancy Doe <noone@asp101.com>">Nancy Doe <noone@asp101.com></option>
				</select>
			</td>
		</tr>
		<tr>
			<td align="right">Date:</td>
			<td><input type="text" name="date" value="1/9/2001" size="10" /></td>
			<td align="right">Time:</td>
			<td><input type="text" name="time" value="5:38:16 PM" size="10" /></td>
			</td>
		</tr>
		<tr>
			<td align="right">
				<select name="mrs">
					<option>Mr.</option>
					<option>Mrs.</option>
					<option>Ms.</option>
				</select>
			</td>
			<td colspan="3"><input type="text" name="caller" size="30" /></td>
		</tr>
		<tr>
			<td align="right">Company:</td>
			<td colspan="3"><input type="text" name="company" size="30" /></td>
		</tr>
		<tr>
			<td align="right">Phone:</td>
			<td colspan="3"><input type="text" name="phone" size="30" /></td>
		</tr>
		<tr>
			<td>
			</td>
			<td colspan="3">
				<table border="0" cellspacing="1" cellpadding="0">
				<tr>
					<td><input type="checkbox" name="notes" value="Returned Call" />Returned Call</input></td>
					<td><input type="checkbox" name="notes" value="Please Call" />Please Call</input></td>
				</tr>
				<tr>
					<td><input type="checkbox" name="notes" value="Will Call Again" />Will Call Again</input></td>
					<td><input type="checkbox" name="notes" value="Urgent" />Urgent</input></td>
				</tr>
				</table>
			</td>
		</tr>
	</table>
	<table border="0" cellspacing="2" cellpadding="2">
		<tr>
			<td colspan="4">
				Message:<br />
				<textarea name="message" cols="40" rows="10" wrap="virtual"></textarea>
			</td>
		</tr>
		<tr>
			<td colspan="4" align="right">
				<input type="submit" value="Send Message" />
			</td>
		</tr>
	</table>
	</td></tr></table>
	</form>


Output

Samples
Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers