Support Forums for LiveMesh Themes & Plugins › Forums › Enticing Theme Support › Contact Page
Tagged: contact form
- This topic has 2 replies, 2 voices, and was last updated 13 years, 8 months ago by
livemesh.
-
AuthorPosts
-
August 14, 2012 at 5:34 am #247
gino.lancaster
MemberI have set up the contact page via the shortcode..[contact_form mail_to=”gino@mydomain.com.au”]..
However my email responses only show the message..There is no Name, Subject, Phone, etc..can you advise,,thanks Gino..
August 16, 2012 at 1:29 am #249livemesh
KeymasterThe response at present employs name supplied by the user in the subject. Email is implied by reply-to email addresses or the sent email address. The form itself does not have subject field. Since this is often requested feature, I plan on adding a few more fields to the contact form and making it optional from the shortcode provided. Give me a few days time. If you have some specific fields in mind and need urgently, let me know and I can make the required change and email you the modified files.
For now, to add fields or to remove fields like phone or subject, you will need to make some HTML code changes to the file
contact-shortcodes.phpin<wordpress install directory>\wp-content\themes\enticing\framework\shortcodes\directory to take care of this. The bottom portion of this file contains the HTML code for contact form.<p>
<label>Name *</label>
<input type="text" name="contact_name" class="text-input" />
</p>
<p>
<label>Email *</label>
<input name="contact_email" class="text-input" type="email"/>
</p>
<p>
<label>Web URL </label>
<input type="url" name="contact_url" class="text-input"/>
</p>
<p>
<label>Comment *</label>
<textarea name="message" rows="8" cols="40"></textarea>
</p>As an example of removing a field, to get rid of Web URL, pls remove the following code in line numbers 31 to 34 –
<p>
<label>Web URL </label>
<input type="url" name="contact_url" class="text-input"/>
</p>In order to obtain the new field values and process them, pls modify the file
<wordpress install directory>\wp-content\themes\enticing\scripts\sendmail.phpThe php code in this file is simple enough to modify to help capture values for the new fields.Thanks and let us know if you have more questions.
August 16, 2012 at 1:48 am #252livemesh
KeymasterI would also consider using the following plugin if I would need lots of tweaks to the contact form –
-
AuthorPosts
- The forum ‘Enticing Theme Support’ is closed to new topics and replies.