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 

Error when User Submits Form

 
Post new topic   Reply to topic    myContactForm.com - Help Forum Forum Index -> Errors When Submitting Forms
View previous topic :: View next topic  
Author Message
alanwatson43



Joined: 03 Dec 2015
Posts: 3

PostPosted: Fri Jan 29, 2016 3:27 am    Post subject: Error when User Submits Form Reply with quote

When a User Submits a Form - they get an error rather than being redirected to the Thank You Page.

The Error States that the Form needs a name and if no name is given the owner of the Form has not configured it correctly.

The HTML Code is as follows :-

<!-- Begin myContactForm.com Form HTML -->
<form name="contactForm" id="contactForm" method="post" action="http://www.mycontactform.com/sendform/sendform.php" style="width: 100%; border: 0px solid #000000; margin: 0; padding: 0; background-color: #FFFFFF;">
<table summary="This table contains contact form fields." width="100%" cellpadding="0" cellspacing="0">
<tr style="margin: 0; padding: 0;">
<td style="background-color: #FFFFFF; border-bottom: 0px solid #D8D8D8; padding: 5px; clear: left; margin: 0;">
<label for="email" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">E-mail Address: <span style="color: #FF0000">*</span></label>
<input name="email" type="email" id="email" size="20" maxlength="100" required="required" />
</td>
</tr>
<tr style="margin: 0; padding: 0;">
<td style="background-color: #EFEFEF; border-bottom: 0px solid #D8D8D8; padding: 5px; clear: left; margin: 0;">
<label for="q1" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">Your Full Name <span style="color: #FF0000">*</span></label> <input name="q1" id="q1" type="text" value="" size="40" maxlength="" required="required"/>
</td>
</tr>
<tr style="margin: 0; padding: 0;">
<td style="background-color: #FFFFFF; border-bottom: 0px solid #D8D8D8; padding: 5px; clear: left; margin: 0;">
<label for="q2" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">Your Address </label> <textarea name="q2" id="q2" cols="40" rows="3" ></textarea>
</td>
</tr>
<tr style="margin: 0; padding: 0;">
<td style="background-color: #EFEFEF; border-bottom: 0px solid #D8D8D8; padding: 5px; clear: left; margin: 0;">
<label for="q3" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">Your Telephone Number <span style="color: #FF0000">*</span></label> <input name="q3" id="q3" type="text" value="" size="15" maxlength="" required="required"/>
</td>
</tr>
<tr style="margin: 0; padding: 0;">
<td style="background-color: #FFFFFF; border-bottom: 0px solid #D8D8D8; padding: 5px; clear: left; margin: 0;">
<label for="q5" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">Select One or More Dates available <span style="color: #FF0000">*</span></label> <div style="font-family: Arial; color: #000000; font-size: 14px; float: left;""><input name="q5" id="q5" type="hidden" value="checkbox430695" /><input name="checkbox5[]" type="checkbox" value="Friday 4th March" />Friday 4th March<br /><input name="checkbox5[]" type="checkbox" value="Saturday 5th March" />Saturday 5th March<br /><input name="checkbox5[]" type="checkbox" value="Sunday 6th March" />Sunday 6th March</div><div style="clear: both;"></div>
</td>
</tr>
<tr style="margin: 0; padding: 0;">
<td style="background-color: #EFEFEF; border-bottom: 0px solid #D8D8D8; padding: 5px; clear: left; margin: 0;">
<label for="q6" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">Tell us the Times you can be available <span style="color: #FF0000">*</span></label> <textarea name="q6" id="q6" cols="60" rows="3" required="required">e.g : 10:00 am - 11:30 - Friday</textarea>
</td>
</tr>
<tr style="margin: 0; padding: 0;">
<td style="background-color: #FFFFFF; border-bottom: 0px solid #D8D8D8; padding: 5px; clear: left; margin: 0;">
<label for="q7" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">Which area you prefer (New Milton/Barton/Bashley/Ashley Etc.) <span style="color: #FF0000">*</span></label> <textarea name="q7" id="q7" cols="60" rows="3" required="required"></textarea>
</td>
</tr>
<tr style="margin: 0; padding: 0;">
<td style="background-color: #FFFFFF; padding: 5px; clear: left; margin: 0;">
<hr style="color: #D8D8D8; background-color: #D8D8D8; height: 1px;" />
</td>
</tr>
<tr style="margin: 0; padding: 0;">
<td style="background-color: #FFFFFF; padding: 5px; clear: left; margin: 0;">
<input name="user" type="hidden" id="user" value="alanwatson43" />
<input name="formid" type="hidden" id="formid" value="430695" />
<input name="subject" type="hidden" id="subject" value=""Clean for The Queen" - Volunteer Registration" />
<input name="submit" type="submit" value="Submit" />
<input name="reset" type="reset" value="Reset" />
<input type="button" value="Print" onClick="window.print()" />
</td>
</tr>
<tr style="margin: 0; padding: 0;">
<td style="background-color: #FFFFFF; padding: 5px; clear: left; margin: 0;">
<span style="color: #FF0000">*</span> <span style="font-family: Arial; color: #000000; font-size: 14px;">Required</span> </td>
</tr>
</table>
</form>
<!-- End myContactForm.com Form HTML -->


Last edited by alanwatson43 on Fri Jan 29, 2016 3:41 am; edited 1 time in total
Back to top
View user's profile
mycontac
Site Admin


Joined: 31 Dec 2003
Posts: 2860

PostPosted: Fri Jan 29, 2016 3:41 am    Post subject: Re: Error when User Submits Form Reply with quote

alanwatson43 wrote:
When a User Submits a Form - they get an error rather than being redirected to the Thank You Page.

The error states that a Form Subject is needed and the owner of the Form has not configured it correctly.


Check your settings under Edit > Subject.

Also, copy and paste a fresh snippet of code to your site.

Nick Ladd
myContactForm.com
Back to top
View user's profile
alanwatson43



Joined: 03 Dec 2015
Posts: 3

PostPosted: Fri Jan 29, 2016 4:32 am    Post subject: Error when submitting Form Reply with quote

Many thanks - followed your instructions and all now working perfectly.

Thanks for very quick response

Alan Very Happy
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    myContactForm.com - Help Forum Forum Index -> Errors When Submitting Forms 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