Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 08-29-2002, 03:30 PM Form emailer
Junior Talker

Posts: 2
Trades: 0
I need help. I created this request Form using Dreamweaver MX. I am sending the user's information to an Access Database.

I would also like to myself an email either notifying me of the new Request or sending me the same info filled out in the form.

How can I do that? What would be the code to add?

Here's my Form code:

<form action="<%=MM_editAction%>" method="POST" name="Request" id="Request" onSubmit="MM_validateForm('FirstName','','R','Last Name','','R','Company','','R','Address1','','R','C ity','','R','State','','R','ZipCode','','R','Phone ','','R','Email','','RisEmail');return document.MM_returnValue">
<table width="100%" border="0">
<tr>
<td width="31%"><div align="right"><font face="Arial, Helvetica, sans-serif">First
Name: </font></div></td>
<td colspan="2"> <input name="FirstName" type="text" id="FirstName" size="40" maxlength="50">
* </td>
</tr>
<tr>
<td><div align="right"><font face="Arial, Helvetica, sans-serif">Last
Name:</font></div></td>
<td colspan="2"> <input name="LastName" type="text" id="LastName" size="40" maxlength="50">
*</td>
</tr>
<tr>
<td><div align="right"><font face="Arial, Helvetica, sans-serif">Job
Title:</font></div></td>
<td colspan="2"> <input name="JobTitle" type="text" id="JobTitle" size="40" maxlength="50"></td>
</tr>
<tr>
<td><div align="right"><font face="Arial, Helvetica, sans-serif">Company
Name:</font></div></td>
<td colspan="2"> <input name="Company" type="text" id="Company" size="40" maxlength="50">
*</td>
</tr>
<tr>
<td><div align="right"><font face="Arial, Helvetica, sans-serif">Address
1:</font></div></td>
<td colspan="2"> <input name="Address1" type="text" id="Address1" size="40" maxlength="50">
*</td>
</tr>
<tr>
<td><div align="right"><font face="Arial, Helvetica, sans-serif">Address
2:</font></div></td>
<td colspan="2"> <input name="Address2" type="text" id="Address2" size="40" maxlength="50"></td>
</tr>
<tr>
<td><div align="right"><font face="Arial, Helvetica, sans-serif">City:</font></div></td>
<td colspan="2"> <input name="City" type="text" id="City" size="30" maxlength="30">
*</td>
</tr>
<tr>
<td><div align="right"><font face="Arial, Helvetica, sans-serif">State/Province:</font></div></td>
<td colspan="2"> <input name="State" type="text" id="State" size="30" maxlength="30">
*</td>
</tr>
<tr>
<td><div align="right"><font face="Arial, Helvetica, sans-serif">Zip/Postal
Code:</font></div></td>
<td colspan="2"> <input name="ZipCode" type="text" id="ZipCode" size="30" maxlength="30">
*</td>
</tr>
<tr>
<td><div align="right"><font face="Arial, Helvetica, sans-serif">Country:</font></div></td>
<td colspan="2"> <select name="Country" size="1" id="Country" title="<%=(Countries.Fields.Item("Country_Name").V alue)%>">
<%
while (!Countries.EOF) {
%>
<option value="<%=(Countries.Fields.Item("Country_Name").V alue)%>" <%=((Countries.Fields.Item("Country_Name").Value == "USA")?"SELECTED":"")%> ><%=(Countries.Fields.Item("Country_Name").Value)% ></option>
<%
Countries.MoveNext();
}
if (Countries.CursorType > 0) {
if (!Countries.BOF) Countries.MoveFirst();
} else {
Countries.Requery();
}
%>
</select>
*</td>
</tr>
<tr>
<td><div align="right"><font face="Arial, Helvetica, sans-serif">Phone:</font></div></td>
<td colspan="2"> <input name="Phone" type="text" id="Phone" size="30" maxlength="30">
*</td>
</tr>
<tr>
<td><div align="right"><font face="Arial, Helvetica, sans-serif">Fax:</font></div></td>
<td colspan="2"> <input name="Fax" type="text" id="Fax" size="30" maxlength="30"></td>
</tr>
<tr>
<td><div align="right"><font face="Arial, Helvetica, sans-serif">E-mail:</font></div></td>
<td colspan="2"> <input name="Email" type="text" id="Email" size="40" maxlength="50">
*</td>
</tr>
<tr valign="top">
<td colspan="3"> <div align="left">
<table width="95%" border="0" align="left">
<tr>
<td width="33%">&nbsp;</td>
<td width="43%"><input type="reset" name="Reset" value="Clear Form">
<input type="submit" name="Submit" value="Submit"></td>
<td width="24%"><em>*<font size="1"><font size="2">
</font></font></em><font size="2">&nbsp;</font><font size="2" face="Arial, Helvetica, sans-serif">Required
Field</font></td>
</tr>
</table>
<em><font size="1" face="Arial, Helvetica, sans-serif">
<font size="2"> </font></font></em><em><font size="1" face="Arial, Helvetica, sans-serif">
</font></em> <em><font size="1" face="Arial, Helvetica, sans-serif"><font size="2">
</font></font></em></div></td>
</tr>
</table>
<div align="left"><em> <font size="1" face="Arial, Helvetica, sans-serif">
<input type="hidden" name="MM_insert" value="Request">
</font></em> </div>
</form>
Brachole is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-29-2002, 05:08 PM
AhmedF's Avatar
Left for Better Places

Posts: 258
Trades: 0
This is just the front end HTML.

You need to write some code that will take what you have inputted into the HTML, and them email you what they filled out.
AhmedF is offline
Reply With Quote
View Public Profile
 
Old 08-29-2002, 06:31 PM
Junior Talker

Posts: 2
Trades: 0
I'm not a huge HTML expert and don't know how to write this code. Don't forget, I'm using asp to send the input to a database using a DSN.

Would you know of any places I can find the appropriate code for what I'm looking for?

Thanks in advance
Brachole is offline
Reply With Quote
View Public Profile
 
Old 08-29-2002, 07:18 PM
ghettocars's Avatar
Defies a Status

Posts: 1,738
Name: Josh
Location: Miami, FL
Trades: 0
you want to make your job easier?

www.response-o-matic.com

go there and that will give you a form with no experience needed! just edit the HTML form scripts. ITS EASY!

hope that helps

-Josh
__________________

Please login or register to view this content. Registration is FREE
ghettocars is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Form emailer
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.34287 seconds with 12 queries