 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
cbz87
Joined: 14 Mar 2008 Posts: 25
|
Posted: Thu Mar 27, 2008 12:52 pm Need help with contact form |
|
|
|
This is what I'm working with:
| Code: |
<tr>
<td align="left" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="usial">
<tr align="left" valign="top">
<td width="190" height="39"><strong>First name</strong><br>
<input name="text252626" type="text" class="intext" style="width:182px; height:15px" onClick="this.value=''"></td>
<td width="183"><strong>Phone/Fax</strong><br>
<input name="text25262" type="text" class="intext" style="width:182px; height:15px" onClick="this.value=''"></td>
</tr>
<tr align="left" valign="top">
<td height="39"><strong>Larst name</strong><br>
<input name="text252625" type="text" class="intext" style="width:182px; height:15px" onClick="this.value=''"></td>
<td><strong>Zip</strong><br>
<input name="text252622" type="text" class="intext" style="width:182px; height:15px" onClick="this.value=''"></td>
</tr>
<tr align="left" valign="top">
<td height="39"><strong>E-mail</strong><br>
<input name="text252624" type="text" class="intext" style="width:182px; height:15px" onClick="this.value=''"></td>
<td><strong>Address</strong><br>
<input name="text252623" type="text" class="intext" style="width:182px; height:15px" onClick="this.value=''"></td>
</tr>
<tr>
<td colspan="2"><strong>Message</strong><br>
<textarea name="textarea" class="intext" style="width:373px; height:56px; overflow:auto" onClick="this.value=''"></textarea></td>
</tr>
<tr align="right" valign="bottom">
<td height="25" colspan="2"><input name="reset" type="reset" style="width:45px; height:19px; background-image:url(images/clear.jpg); border:0px none; cursor:hand; cursor:pointer; margin-right:7px " value="">
<input name="submit22" type="submit" style="width:45px; height:19px; background-image:url(images/send.jpg); border:0px none; cursor:hand; cursor:pointer; " value=""></td>
</tr> |
Everything is how I want it, but how can I make the submit button do the action of submitting the filled out data to an email address? I tried adding *action="mailto:email"* but that didn't work. |
|
cbz87
Joined: 14 Mar 2008 Posts: 25
|
Posted: Thu Mar 27, 2008 1:11 pm |
|
|
|
| I know I should perhaps use CGI server side to do this right, because a lot of people say the outside hosted "mailto" feature doesn't work that well? |
|
jessnoonyes
Joined: 06 Jun 2007 Posts: 29
|
Posted: Sat Mar 29, 2008 6:19 am |
|
|
|
Here's a link to a cgi script:
http://bigbiz.net/faq/forms/forms.php
You'll have to create a cgi-bin and put the script inside of it, and probably change the permissions on the file to 755. Then put this at the top of your form:
<form method="post" action="http://www.yourwebsite.com/cgi-bin/forms.cgi" target="_top">
<input type="hidden" name="success_page" value="http://www.redirecttothispage.com">
<input type="hidden" name="sort" value="name,emailaddress,comments"> |
|
cbz87
Joined: 14 Mar 2008 Posts: 25
|
Posted: Tue Apr 01, 2008 9:31 am |
|
|
|
Okay, here's whats going on. This is the coding setup right now:
| Code: |
<form method="post" action="contact.cgi">
<tr>
<td align="left" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="usial">
<tr align="left" valign="top">
<td width="190" height="39"><strong>First name</strong><br>
<input name="text252626" type="text" class="intext" style="width:182px; height:15px" onClick="this.value=''"></td>
<td width="183"><strong>Phone</strong><br>
<input name="text25262" type="text" class="intext" style="width:182px; height:15px" onClick="this.value=''"></td>
</tr>
<tr align="left" valign="top">
<td height="39"><strong>Last name</strong><br>
<input name="text252625" type="text" class="intext" style="width:182px; height:15px" onClick="this.value=''"></td>
<td><strong>Fax</strong><br>
<input name="text252622" type="text" class="intext" style="width:182px; height:15px" onClick="this.value=''"></td>
</tr>
<tr align="left" valign="top">
<td height="39"><strong>E-mail</strong><br>
<input name="text252624" type="text" class="intext" style="width:182px; height:15px" onClick="this.value=''"></td>
<td><strong>Address</strong><br>
<input name="text252623" type="text" class="intext" style="width:182px; height:15px" onClick="this.value=''"></td>
</tr>
<tr>
<td colspan="2"><strong>Message</strong><br>
<textarea name="textarea" class="intext" style="width:373px; height:56px; overflow:auto" onClick="this.value=''"></textarea></td>
</tr>
<tr align="right" valign="bottom">
<td height="25" colspan="2"><input name="reset" type="reset" style="width:45px; height:19px; background-image:url(images/Clear.jpg); border:0px none; cursor:hand; cursor:pointer; margin-right:7px " value="">
<input name="submit22" type="submit" style="width:45px; height:19px; background-image:url(images/Send.jpg); border:0px none; cursor:hand; cursor:pointer; " value=""> </td>
</tr> |
If you go to www.countytaxadvocates.com/contact.html and try to type anything and hit submit, it's saying there is a permissions error. I already created the contact.cgi file and uploaded it. I even set the permissions CHMOD to 755 but I'm still getting that error.. any ideas? |
|
cbz87
Joined: 14 Mar 2008 Posts: 25
|
Posted: Tue Apr 01, 2008 3:26 pm |
|
|
|
Update:
Had to change my godaddy hosting account to deluxe for it to be able to support CGI scripts but I'm getting a new error now. -_- |
|
anglersken
Joined: 17 Apr 2008 Posts: 3
|
Posted: Thu Apr 17, 2008 4:51 pm |
|
|
|
| any interest in using php for your contact form? I've got a scipt all written if you want it |
|
bibbyalive
Joined: 25 Apr 2008 Posts: 1
|
Posted: Fri Apr 25, 2008 12:36 am |
|
|
|
can send it to me? Send to my mail...ok? Bibby_aliveatyahoo.com
Thanks...
Im using dreamweaver to create contact form...but click submit my email cannot recieved the form. I save it in html format.I try many times already but still cannot..so hope can see ur coding and know where is wrong... |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|