I would like to take the form below off of a webpage I saw and use it on my own website. Unfortunately, since I can’t see the php script I’m clueless on what the best route is to get this to work.
<form id=”emailform” method=”post” action=”/contact.php”>
<fieldset id=”contact_form”>
<legend>Please fill out the form completely.<br />You will be added to my mailing list unless you indicate otherwise.</legend>
<input type=”hidden” name=”sendnow” id=”sendnow” />
<label for=”fromname”>Name</label>
<div><input name=”fromname” type=”text” id=”fromname” size=”40″ value=”” /></div><br />
<label for=”from”>Email Address</label>
<div><input name=”from” type=”text” id=”from” size=”40″ value=”” /></div><br />
<label for=”what”>Subject</label>
<div><input name=”what” type=”text” id=”what” size=”40″ value=”” /></div><br />
<label for=”message”>Message</label>
<div><textarea name=”message” cols=”50″ rows=”10″ id=”message”></textarea></div>
<a href=”#” onclick=”document.forms[0].sendnow.value=’sent’;document.forms[0].submit();return false;” id=”contact_submit”>Send</a>
</fieldset>
</form>
Any advice or tips would be greatly appreciated.
Best,
G