Ready to get started?Download WordPress


Contact form (3 posts)

  1. hapki88
    Posted 11 months ago #

    Contact form is working but can't seem to remove the error message from the page (or even know if this is working). New to WordPress so hopefully its an easy fix. Thanks in advance.

    <script type="text/javascript">// <![CDATA[var obligate = ["Name", "Email", "Message" ];// ]]></script><script type="text/javascript" src="/js/chkFrm.js"></script>An error occurred.<script type="text/javascript">// <![CDATA[if (window.location.search == "?err"){document.getElementById("errMsg").style.display = ""; }// ]]></script>
    <form style="margin-top: -36px;" action="/_frmProc.php" method="post" onsubmit="return valFrm();">
    <input type="hidden" name="backURL" value="/thank-you/" />
    <input type="hidden" name="recAddr" value="webmail@website.com" />
    <input type="hidden" name="fromAddr" value="no-reply@website.com" />
    <table class="contactform">
    <td>Name: <input type="text" name="Name" /></td></tr>
    <td>E-mail: <input type="text" name="Email" /></td></tr>
    <td>Phone (optional): <input type="text" name="Phone" /></td></tr>
    <td>Your message: <textarea class="textarea" name="Message"></textarea></tr>
    <td><button type="submit">Submit</button></td></tr>
  2. WPyogi
    Volunteer Moderator
    Posted 11 months ago #

  3. hapki88
    Posted 11 months ago #

    Within the first block of code I wrote "An error occurred." as a result of 'check form' This message appears whenever the webpage is loaded, even before the form is submitted.


You must log in to post.

About this Topic