Note that there are some explanatory texts on larger screens.

plurals
  1. POWhats wrong with my contact form?
    primarykey
    data
    text
    <p>Could someone please take a look at my website's code and tell me why my contact form isnt working?</p> <p>Here are the relevant portions of code:</p> <p>From the contact.html file:</p> <pre><code>&lt;h3 class="indent-bot2"&gt;Contact Form&lt;/h3&gt; &lt;form action="#" id="contact-form"&gt; &lt;div class="success"&gt; Contact form submitted!&lt;br&gt; &lt;strong&gt;We will be in touch soon.&lt;/strong&gt; &lt;/div&gt; &lt;fieldset&gt; &lt;label class="name"&gt; &lt;input type="text" value="Enter Your Name:"&gt; &lt;span class="error"&gt;*This is not a valid name.&lt;/span&gt; &lt;span class="empty"&gt;*This field is required.&lt;/span&gt; &lt;/label&gt; &lt;label class="email"&gt; &lt;input type="text" value="Enter Your E-mail:"&gt; &lt;span class="error"&gt;*This is not a valid email address.&lt;/span&gt; &lt;span class="empty"&gt;*This field is required.&lt;/span&gt; &lt;/label&gt; &lt;label class="phone"&gt; &lt;input type="tel" value="Enter Your Phone:"&gt; &lt;span class="error"&gt;*This is not a valid phone number.&lt;/span&gt; &lt;span class="empty"&gt;*This field is required.&lt;/span&gt; &lt;/label&gt; &lt;label class="message"&gt; &lt;textarea&gt;Enter Your Message:&lt;/textarea&gt; &lt;span class="error"&gt;*The message is too short.&lt;/span&gt; &lt;span class="empty"&gt;*This field is required.&lt;/span&gt; &lt;/label&gt; &lt;div class="buttons-wrapper"&gt; &lt;a class="button" data-type="reset"&gt;Clear&lt;/a&gt; &lt;a class="button" data-type="submit"&gt;Send&lt;/a&gt; &lt;/div&gt; &lt;/fieldset&gt; &lt;/form&gt; </code></pre> <p>Also from the contact.html file:</p> <pre><code>&lt;script type="text/javascript"&gt; $(window).load(function(){ $('.slider')._TMS({ duration:800, easing:'easeInCirc', preset:'zabor', pagination:false, slideshow:7000, banners:'fromTop', nextBu:'.next', prevBu:'.prev', waitBannerAnimation:false, pauseOnHover:true, beforeAnimation:function(){ $('.slider .prev') .stop() .animate({top:'425px'},300,'easeOutCirc') $('.slider .next') .stop() .animate({top:'425px'},300,'easeOutCirc') }, afterAnimation:function(){ $('.slider .prev') .css({top:'425px'}) .stop() .animate({top:'327px'},300,'easeOutCirc') $('.slider .next') .css({top:'425px'}) .stop() .animate({top:'327px'},300,'easeOutCirc') } }) $('#contact-form').forms({ ownerEmail:'info@dohatutor.com' }) }); &lt;/script&gt; </code></pre> <p>I think this is the piece of code that links to a javascript file which in turn calls "mailhandler.php". </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload