Back to myContactForm.com - Easy email form creation and processing for your web site
myContactForm.com - Help Forum Forum Index myContactForm.com - Help Forum
Have a question that you need answered about myContactForm.com? Post it on this message board but first search this forum and read out FAQ to ensure it has not already been answered. This is not a board to post links to your site! SPAM will be deleted!
 
   Search MessagesSearch Messages
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Contact Form not working

 
Post new topic   Reply to topic    myContactForm.com - Help Forum Forum Index -> Form Management
View previous topic :: View next topic  
Author Message
julianp77



Joined: 31 Jul 2008
Posts: 1

PostPosted: Mon Jun 15, 2009 7:00 am    Post subject: Contact Form not working Reply with quote

Hello, I'm having problem with my contact form working. It was working a over 6 months ago but not now. When I change the location to the following it works mycontactform.com/panel/previewform.php

Here is the html and the page address is www.photo-to-canvas.co.uk/upload.aspx

<!-- Begin myContactForm.com Form HTML -->
<form name="contactForm" method="post" enctype="multipart/form-data" action="http://www.mycontactform.com/sendform/sendform.php">
<input name="user" type="hidden" id="user" value="julianp77" /><input name="formid" type="hidden" id="formid" value="196802" /><input name="subject" type="hidden" id="subject" value="Contact Form" />
<table width="100%" style="border: 0px solid #000000; margin: 0; padding: 0; background-color: #FFFFFF;"><tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr bgcolor="#EFEFEF"><td><font color="#000000" size="2" face="Arial"> E-mail Address:<font color="#FF0000"> *</font></font></td><td><input name="email" type="text" id="email" size="20" maxlength="100" style="font-family: Arial; font-size: 14px; font-weight: normal; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; vertical-align: middle; padding-left: 4px;" /></td></tr><tr bgcolor="#FFFFFF"><td><font color="#000000" size="2" face="Arial">Name<font color="#FF0000"> *</font></font></td><td><font color="#000000" size="2" face="Arial"><input name="q[1]" type="text" value="" size="20" maxlength="" style="font-family: Arial; font-size: 14px; font-weight: normal; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; vertical-align: middle; padding-left: 4px;" /></font></td></tr><tr bgcolor="#EFEFEF"><td><font color="#000000" size="2" face="Arial">Address<font color="#FF0000"> *</font></font></td><td><font color="#000000" size="2" face="Arial"><textarea name="q[2]" cols="30" rows="3" style="font-family: Arial; font-size: 14px; font-weight: normal; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; vertical-align: middle; padding-left: 4px;"></textarea></font></td></tr><tr bgcolor="#FFFFFF"><td><font color="#000000" size="2" face="Arial">Town/City<font color="#FF0000"> *</font></font></td><td><font color="#000000" size="2" face="Arial"><input name="q[3]" type="text" value="" size="20" maxlength="" style="font-family: Arial; font-size: 14px; font-weight: normal; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; vertical-align: middle; padding-left: 4px;" /></font></td></tr><tr bgcolor="#EFEFEF"><td><font color="#000000" size="2" face="Arial">County<font color="#FF0000"> *</font></font></td><td><font color="#000000" size="2" face="Arial"><input name="q[4]" type="text" value="" size="20" maxlength="" style="font-family: Arial; font-size: 14px; font-weight: normal; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; vertical-align: middle; padding-left: 4px;" /></font></td></tr><tr bgcolor="#FFFFFF"><td><font color="#000000" size="2" face="Arial">Post Code<font color="#FF0000"> *</font></font></td><td><font color="#000000" size="2" face="Arial"><input name="q[5]" type="text" value="" size="20" maxlength="" style="font-family: Arial; font-size: 14px; font-weight: normal; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; vertical-align: middle; padding-left: 4px;" /></font></td></tr><tr bgcolor="#EFEFEF"><td><font color="#000000" size="2" face="Arial">Telephone No.<font color="#FF0000"> *</font></font></td><td><font color="#000000" size="2" face="Arial"><input name="q[6]" type="text" value="" size="20" maxlength="" style="font-family: Arial; font-size: 14px; font-weight: normal; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; vertical-align: middle; padding-left: 4px;" /></font></td></tr><tr bgcolor="#FFFFFF"><td><font color="#000000" size="2" face="Arial">Colour Effect<font color="#FF0000"> *</font></font></td><td><font color="#000000" size="2" face="Arial"><select name="q[8]" style="font-family: Arial; font-size: 14px; font-weight: normal; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; vertical-align: middle; padding-left: 4px;"><option value="Colour">Colour</option><option value="Black and White">Black and White</option><option value="Sepia">Sepia</option></select></font></td></tr><tr bgcolor="#EFEFEF"><td><font color="#000000" size="2" face="Arial">Size<font color="#FF0000"> *</font></font></td><td><font color="#000000" size="2" face="Arial"><select name="q[7]" style="font-family: Arial; font-size: 14px; font-weight: normal; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; vertical-align: middle; padding-left: 4px;"><option value="9 x 9 inches £18">9 x 9 inches £18</option><option value="9 x 14 inches £30">9 x 14 inches £30</option><option value="14 x 14 inches £35">14 x 14 inches £35</option><option value="14 x 19 inches £35">14 x 19 inches £35</option><option value="19 x 19 inches £50">19 x 19 inches £50</option><option value="19 x 28 inches £50">19 x 28 inches £50</option></select></font></td></tr><tr bgcolor="#FFFFFF"><td><font color="#000000" size="2" face="Arial"> Upload Image </font></td><td><input type="file" name="attach" style="font-family: Arial; font-size: 14px; font-weight: normal; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; vertical-align: middle; padding-left: 4px;" /></td></tr><tr bgcolor="#EFEFEF"><td><font color="#000000" size="2" face="Arial">File Name/Number<font color="#FF0000"> *</font></font></td><td><font color="#000000" size="2" face="Arial"><input name="q[10]" type="text" value="" size="20" maxlength="" style="font-family: Arial; font-size: 14px; font-weight: normal; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; vertical-align: middle; padding-left: 4px;" /></font></td></tr><tr bgcolor="#FFFFFF"><td><font color="#000000" size="2" face="Arial">Message</font></td><td><font color="#000000" size="2" face="Arial"><textarea name="q[9]" cols="30" rows="5" style="font-family: Arial; font-size: 14px; font-weight: normal; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; vertical-align: middle; padding-left: 4px;"></textarea></font></td></tr><tr><td colspan="2"><hr size="1" /></td></tr>
<tr> <td><font color="#000000" size="2" face="Arial"> Verification Code:</font></td> <td><img src="http://www.mycontactform.com/visver/gen_img.php?formid=196802&user=julianp77" /></td></tr>
<tr> <td><font color="#000000" size="2" face="Arial"> Enter Verification Code:<font color="#FF0000"> *</font></font></td> <td><input name="visver_code" type="text" id="visver_code" size="6" maxlength="6" style="font-family: Arial; font-size: 14px; font-weight: normal; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; vertical-align: middle; padding-left: 4px;" /></td></tr>
<tr><td colspan="2"><hr size="1" /></td></tr>
<tr><td colspan="2"><input name="submit" type="submit" style="background-color: #CCCCCC; font-family: Arial; font-size: 16px; color: #000000; border-bottom:2px solid #000000; border-right:2px solid #000000; border-top:2px solid #000000; border-left:2px solid #000000" value="Submit" /> <input name="reset" type="reset" style="background-color: #CCCCCC; font-family: Arial; font-size: 16px; color: #000000; border-bottom:2px solid #000000; border-right:2px solid #000000; border-top:2px solid #000000; border-left:2px solid #000000" value="Reset" /> </td></tr>
<tr><td><font color="#FF0000" size="1" face="Verdana, Arial, Helvetica, sans-serif"><b>*</b></font> <font size="1" face="Verdana, Arial, Helvetica, sans-serif">Required</font></td><td align="right"></td></tr>
</table></td></tr></table></form>
<!-- End myContactForm.com Form HTML -->

Thanks

Julian
Back to top
View user's profile
mycontac
Site Admin


Joined: 31 Dec 2003
Posts: 2860

PostPosted: Mon Jun 15, 2009 9:50 am    Post subject: Reply Reply with quote

The problem is that you have pasted the form HTML within an existing open form tag. Look at the line of code on your website that says (right after the body tag):

Code:
<form name="form1" method="post" action="upload.aspx" id="form1">


Because you placed the myContactForm.com HTML within the open form tag above, the data is being posted to the 'upload.aspx' file rather than the myContactForm.com processing script. You need to get rid of the above form tag or close it before pasting in the myContactForm.com code.

Nick Ladd
myContactForm.com
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    myContactForm.com - Help Forum Forum Index -> Form Management All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB 2.0.11 © 2001, 2002 phpBB Group