PDA

View Full Version : How to set up this for an ASP email...



Graphicsgod
06-04-2007, 08:18 PM
How would I set this up for an external ASP email script? Wanna test something to see if it's my server or me ;).



<div id="container">
<form id="form_4" name="sendmail" class="mail"
onsubmit="return validate_form_4(this)"
action="sendemail.asp" method="post" target="_self">

<fieldset>
<legend>&nbsp;Personal&nbsp;Information&nbsp;</LEGEND>

<ul id="formFields">
<li><label class="desc" for="field17">Name:</label>
<span><input id="Fname" name="first_name" maxlength="200" class="field text"
size="14" class="memorize" value="" onkeypress="return handleEnter(this, event)"
onFocus="clearText(this)" />
<label class="tam">First</label></span>
<span><input id="Lname" name="last_name" maxlength="200" class="field text"
size="14" class="memorize" value="" onkeypress="return handleEnter(this, event)"
onFocus="clearText(this)" />
<label class="tam">Last</label></span>
<div id="hintanchor_1">
<a href="#" class="hintanchor"
onMouseover="showhint('Please type your (<b>REAL</b>) name.', this, event, '200px')">
<img src="images/about.gif" border="0" width="20" height="20" alt="" /></a>
</div>
</li>
<li>
<label class="desc" for="field8">Email:</label>
<div>
<input id="Email" name="email" maxlength="200" class="field text medium"
type="text" maxlength="255" class="memorize" value=""
onkeypress="return handleEnter(this, event)" onFocus="clearText(this)" />
</div>
<div id="hintanchor_2">
<a href="#" class="hintanchor"
onMouseover="showhint('Please input your (<b>REAL</b>) email address.', this, event, '150px')">
<img src="images/about.gif" border="0" width="20" height="20" alt="" /></a>
</div>
</li>
<li>
<label class="desc" for="field123">Attention:</label>
<div>
<select "id="Attnfield" name="attn">
<option value=" General " selected="selected">General Message</option>
<option value=" Support ">Support</option>
<option value=" Sales/Billing ">Sales/Billing</option>
<option value=" Technical ">Technical</option>
</select>
</div>
</li>
<li>
<label class="desc" for="field124">Comments:
&nbsp;&nbsp;&nbsp;
<i><font size="-2" color="#919090">(No More than <u>1,000</u> Characters
please.)</font></i></label>
<div>
<textarea id="Comments" name="text_box" rows="10" cols="50"
class="field textarea medium"
style="width: 370px; font-family: Arial; font-size: 13px; z-index: 14"
onKeyDown="textCounter(this,'progressbar1',1000)"
onKeyUp="textCounter(this,'progressbar1',1000)"
onFocus="textCounter(this,'progressbar1',1000)"></textarea>
<div id="progressbar1" class="progress"></div>
<script>textCounter(document.getElementById("maxcharfield"),"progressbar1",1000)</script>
</div>
</li>
</ul>
<div class="buttons">
<center>
<font size="1">
<input id="submit" name="submit" class="button" type="submit" value="Send Message" />
<img src="images/spacer.gif" width="20" height="2" alt="" />
<input id="reset" name="reset" class="button" type="reset" value="Reset Form">
</font>
</center>
</div>
</fieldset>
</form>
</div>


Thanks for your time, Rob.