I don’t know what I’m doing wrong, but my contact form doesn’t send all the fields properly. I receive the messages only with the “message” field. The other fields disappear. Does anybody know what’s going wrong here? Here’s my contact template code:
{exp:email:contact_form user_recipients="false" recipients="[email protected]" charset="utf-8" return="{homepage}|Home Page"}
<input class="fmtext" type="hidden" name="subject" id="subject" value="Message from website" />
<label for="name">Name</label><input class="fmtext" type="text" name="name" id="name" />
<label for="address">Address</label><input class="fmtext" type="text" name="address" id="address" />
<label for="city">City</label><input class="fmtext" type="text" name="city" id="city" />
<label for="from">From</label><input class="fmtext" type="text" name="from" id="from" />
<label for="phone">Phone</label><input class="fmtext" type="text" name="phone" id="phone" />
<label for="message">Message</label>
<textarea class="fmtextarea" name="message" cols="20" rows="6" id="message"></textarea>
{if captcha}
Please enter the word you see in the image below:
{captcha}
<input type="text" name="captcha" value="" maxlength="20" />
{/if}
<input name="submit" type='submit' value='Send' />
{/exp:email:contact_form}