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 

HTML Errors - Unexpected end tag : p

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



Joined: 24 Aug 2016
Posts: 2

PostPosted: Sat Sep 10, 2016 11:29 pm    Post subject: HTML Errors - Unexpected end tag : p Reply with quote

I get the above error twice when uploading my form on my website. I can not continue. My code is below. Any Ideas?

<!-- Begin myContactForm.com Form HTML -->
<form name="contactForm" id="contactForm" method="post" action="http://www.mycontactform.com/sendform/sendform.php" style="width: 100%; border: 2px 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" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" />
</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;">Proprietor Name: <span style="color: #FF0000">*</span></label> <input name="q1" id="q1" type="text" value="" size="30" maxlength="" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" 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;">Contact Number: <span style="color: #FF0000">*</span></label> <input name="q2" id="q2" type="text" value="" size="10" maxlength="" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" 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="q3" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">ABN: <span style="color: #FF0000">*</span></label> <input name="q3" id="q3" type="text" value="" size="10" maxlength="" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" 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="q4" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">Business Name: <span style="color: #FF0000">*</span></label> <input name="q4" id="q4" type="text" value="" size="30" maxlength="" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" 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="q5" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">Trading As (if different): </label> <input name="q5" id="q5" type="text" value="" size="30" maxlength="" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" />
</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="q6" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">Business Registration Number: <span style="color: #FF0000">*</span></label> <input name="q6" id="q6" type="text" value="" size="10" maxlength="" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" 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="q7" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">Trading Address: <span style="color: #FF0000">*</span></label> <input name="q7" id="q7" type="text" value="" size="40" maxlength="" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" 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="q8" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">State: <span style="color: #FF0000">*</span></label> <input name="q8" id="q8" type="text" value="" size="4" maxlength="" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" 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="q9" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">Post Code: <span style="color: #FF0000">*</span></label> <input name="q9" id="q9" type="text" value="" size="4" maxlength="" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" 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="q10" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">Business Contact Phone: <span style="color: #FF0000">*</span></label> <input name="q10" id="q10" type="text" value="" size="10" maxlength="" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" 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="q11" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">Business Email: <span style="color: #FF0000">*</span></label> <input name="q11" id="q11" type="text" value="" size="40" maxlength="" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" 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="q12" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">Which Products are you interested in? <span style="color: #FF0000">*</span></label> <input name="q12" id="q12" type="checkbox" value="Yes" 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="q13" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">How many litres would you estimate you use per month? <span style="color: #FF0000">*</span></label> <input name="q13" id="q13" type="checkbox" value="Yes" required="required" />
</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="PureEarth" />
<input name="formid" type="hidden" id="formid" value="434306" />
<input name="subject" type="hidden" id="subject" value="Membership Application" />
<input name="submit" type="submit" value="Submit" style="font-family: ; font-size: ; color: ; background-color: ; border: solid ; padding: 2px;" />
<input name="reset" type="reset" value="Reset" style="font-family: ; font-size: ; color: ; background-color: ; border: solid ; padding: 2px;" />
</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> <span style="float: right; font-family: Arial; color: #000000; font-size: 14px;"><a href="http://www.mycontactform.com" target="_blank" title="Link to myContactForm.com">Contact form by myContactForm.com</a></span> </td>
</tr>
</table>
</form>
<!-- End myContactForm.com Form HTML -->
Back to top
View user's profile
mycontac
Site Admin


Joined: 31 Dec 2003
Posts: 2684

PostPosted: Mon Sep 12, 2016 2:32 am    Post subject: Re: HTML Errors - Unexpected end tag : p Reply with quote

PureEarth wrote:
I get the above error twice when uploading my form on my website. I can not continue. My code is below. Any Ideas?

<!-- Begin myContactForm.com Form HTML -->
<form name="contactForm" id="contactForm" method="post" action="http://www.mycontactform.com/sendform/sendform.php" style="width: 100%; border: 2px 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" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" />
</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;">Proprietor Name: <span style="color: #FF0000">*</span></label> <input name="q1" id="q1" type="text" value="" size="30" maxlength="" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" 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;">Contact Number: <span style="color: #FF0000">*</span></label> <input name="q2" id="q2" type="text" value="" size="10" maxlength="" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" 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="q3" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">ABN: <span style="color: #FF0000">*</span></label> <input name="q3" id="q3" type="text" value="" size="10" maxlength="" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" 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="q4" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">Business Name: <span style="color: #FF0000">*</span></label> <input name="q4" id="q4" type="text" value="" size="30" maxlength="" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" 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="q5" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">Trading As (if different): </label> <input name="q5" id="q5" type="text" value="" size="30" maxlength="" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" />
</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="q6" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">Business Registration Number: <span style="color: #FF0000">*</span></label> <input name="q6" id="q6" type="text" value="" size="10" maxlength="" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" 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="q7" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">Trading Address: <span style="color: #FF0000">*</span></label> <input name="q7" id="q7" type="text" value="" size="40" maxlength="" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" 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="q8" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">State: <span style="color: #FF0000">*</span></label> <input name="q8" id="q8" type="text" value="" size="4" maxlength="" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" 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="q9" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">Post Code: <span style="color: #FF0000">*</span></label> <input name="q9" id="q9" type="text" value="" size="4" maxlength="" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" 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="q10" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">Business Contact Phone: <span style="color: #FF0000">*</span></label> <input name="q10" id="q10" type="text" value="" size="10" maxlength="" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" 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="q11" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">Business Email: <span style="color: #FF0000">*</span></label> <input name="q11" id="q11" type="text" value="" size="40" maxlength="" style="font-family: Arial; font-size: 14px; color: #000000; background-color: #FFFFFF; border: 1px solid #000000; padding: 2px;" 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="q12" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">Which Products are you interested in? <span style="color: #FF0000">*</span></label> <input name="q12" id="q12" type="checkbox" value="Yes" 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="q13" style="float: left; width: 30%; padding-top: 4px; font-family: Arial; color: #000000; font-size: 14px;">How many litres would you estimate you use per month? <span style="color: #FF0000">*</span></label> <input name="q13" id="q13" type="checkbox" value="Yes" required="required" />
</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="PureEarth" />
<input name="formid" type="hidden" id="formid" value="434306" />
<input name="subject" type="hidden" id="subject" value="Membership Application" />
<input name="submit" type="submit" value="Submit" style="font-family: ; font-size: ; color: ; background-color: ; border: solid ; padding: 2px;" />
<input name="reset" type="reset" value="Reset" style="font-family: ; font-size: ; color: ; background-color: ; border: solid ; padding: 2px;" />
</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> <span style="float: right; font-family: Arial; color: #000000; font-size: 14px;"><a href="http://www.mycontactform.com" target="_blank" title="Link to myContactForm.com">Contact form by myContactForm.com</a></span> </td>
</tr>
</table>
</form>
<!-- End myContactForm.com Form HTML -->


There are no paragraph tags in the text you've provided. There is likely an issue outside of the code, or with the location in which you've placed the code.

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



Joined: 24 Aug 2016
Posts: 2

PostPosted: Mon Sep 12, 2016 6:47 pm    Post subject: Reply with quote

The code is being placed in a blank page.
I placed paragraph tags in the code before but no change. any other ideas?
Back to top
View user's profile
mycontac
Site Admin


Joined: 31 Dec 2003
Posts: 2684

PostPosted: Tue Sep 13, 2016 2:54 am    Post subject: Reply Reply with quote

PureEarth wrote:
The code is being placed in a blank page.
I placed paragraph tags in the code before but no change. any other ideas?


Do you have a link to the live code on the site so we can take a look?

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 -> 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