Hi guys,
I'm new to this forum, I need some help with a contact form, I've done ones before.. but I need someone to make me a mailer.php file that would suffice this framework for my html coded form. The form also has css, which I can't give out, but I'm sure you coders don't really need to see the form.
Basically I would also want this progress bar to work correctly. I can't see to get it all right.
<div id="maincontent">
<h2>Contact</h2>
<div id="main_form">
<p id="loadBar" style="display:none;">
<strong>Sending Email. Hold on just a sec…</strong><br />
<img src="images/loading.gif" alt="Loading..." title="Sending Email" />
</p>
<p id="emailSuccess" style="display:none;">
<strong style="color:red;">Success! Your Email has been sent.</strong>
</p>
<div id="contactFormArea">
<form action="mailer.php" method="post" id="cForm">
<fieldset>
<label for="posName">Name:</label>
<input class="input-textarea" type="text" size="25" name="posName" id="posName" /><br /><br />
<label for="posEmail">Email:</label>
<input class="input-textarea" type="text" size="25" name="posEmail" id="posEmail" /><br /><br />
<label for="posRegard">Subject:</label>
<input class="input-textarea" type="text" size="25" name="posRegard" id="posRegard" /><br /><br />
<label for="posText">Message:</label>
<textarea cols="50" rows="5" name="posText" id="posText"></textarea><br /><br />
<label for="selfCC">
<!--<input type="checkbox" name="selfCC" id="selfCC" value="send" /> Send CC to self-->
<input type="hidden" name="selfCC" id="selfCC" value="xxx" />
</label>
<label>
<input class="input-submit" type="submit" name="sendContactEmail" id="sendContactEmail" value=" Send Email " />
</label>
</fieldset>
</form>
</div>
</div>
Thanks in advance,
Andy