Form on Page to Email
-
I’ve created a small form within my single page template that is..
<?php
if ($post->ID == 46) {
?>
<div class="form">
<form method="post" action="" enctype="">
<div class="formleft">
<label for="store_number">Store Number: </label>
</div>
<div class="formright"><input type="text" name="store_number" size="30" maxlength="50" value="" /> (required)</div>
<div class="formleft">
<label for="quantity">Quantity:</label>
</div>
<div class="formright"><select name="qty" value="">
<option value="1">1 set</option>
<option value="2">2 sets</option>
<option value="3">3 sets</option>
<option value="4">4 sets</option>
<option value="5">5 sets</option>
</select>
</div>
<div class="formleft">
<label for="upcharge">Upcharge:</label>
</div>
<div class="formright"><input type="text" name="upcharge" size="30" maxlength="100" value="" />
(if applicable)
</div>
<div class="formleft"><label for="special_instructions">Special Instructions: </label></div><div class="formright"><textarea name="special" cols="35" rows="8" value=""></textarea></div>
<div class="formright"><input type="submit" name="Submit" value="Submit" id="contactsubmit" /></div>
</form>
</div>I’m wanting to take this form and create a form-mailer to have it emailed to me once its been populated and filled out. Could anyone give me some suggestions on best way? I’m using a contact form already on the site and I played with Dagon’s plugin but its just too crazy for this..
Assistance appreciated!
- The topic ‘Form on Page to Email’ is closed to new replies.