File: /home/seochester.co.uk/public_html/sidebar-contact-form.php
<div class="contact-form form-wrap">
<h2>Contact us below</h2>
<?php
if(!empty($form_errors)){
echo "<p class='err'>".nl2br($form_errors)."</p>";
}
?>
<div id='contact_form_errorloc' class='err'></div>
<form method="POST" name="contact_form" action="<?php echo htmlentities($_SERVER['PHP_SELF']); ?>">
<input name="first_name" onfocus="if(this.value=='NAME') this.value='';" onblur="if(this.value=='') this.value='NAME';" type="text" value="NAME" placeholder="Name">
<input name="email_address" onfocus="if(this.value=='EMAIL') this.value='';" onblur="if(this.value=='') this.value='EMAIL';" type="text" value="EMAIL" placeholder="Email">
<textarea rows=8 name="message" onfocus='if(document.getElementById("mytextarea").value =="PLEASE ENTER YOUR MESSAGE") document.getElementById("mytextarea").value="";' onblur='if(document.getElementById("mytextarea").value=="") document.getElementById("mytextarea").value ="PLEASE ENTER YOUR MESSAGE";' placeholder="Please enter your message">PLEASE ENTER YOUR MESSAGE</textarea>
<input name="submit" type="submit" value="Submit">
</form>
</div>