Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2007
    Location
    Picayune, MS
    Posts
    2
    Plugin Contributions
    0

    Default How to process contact form with new fields data

    Zen Cart version 1.3.8a
    PHP Version 5.2.9 (Zend: 2.2.0)
    MySQL 4.1.22
    no mods

    I needed to add a few fields to the stock contact form. I was able to find the: includes/templates/template_default/templates/tpl-contact_us_default.php and input the code to get the fields to appear on the form. When I process the form, data in the new fields is not being displayed in the email. I located the file: include/modules/pages/contact_us/header_php.php file which appears to be the one that generates the email and sends it. I am not a professional programmer but have some basic knowledge of html and php. I need some direction on how to get the data to appear in the email. I scoured the forum for an answer to no avail. I appreciate any help or guidance in this matter.

    fields added to the contact us form as follows:

    Full Name (stock install)
    Address (custom)
    City (custom)
    State (custom)
    Zip Code(custom)
    Phone number (custom)
    Year of vehicle (custom)
    Engine Size (custom)
    Model (custom)
    email address (stock install)
    Message box (stock install)


  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: How to process contact form with new fields data

    Co,
    Scroll down on the bottom of this thread and notice similiar threads on this issue..

    :)

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How to process contact form with new fields data

    The "band signup" thread has a lot of more current information on forms and fields.
    http://www.zen-cart.com/forum/showthread.php?t=4855

 

 

Similar Threads

  1. How can I line up the fields in my contact us form?
    By ebaobao in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 Sep 2010, 01:39 AM
  2. Custom Contact Form - New Input Fields
    By Nima in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 3 Jun 2010, 11:45 PM
  3. How do I add new form fields on the registration page?
    By RawKarat in forum General Questions
    Replies: 1
    Last Post: 13 Dec 2009, 10:49 PM
  4. How i can add new data fields to a Product
    By shreesoft in forum Customization from the Admin
    Replies: 4
    Last Post: 2 Oct 2006, 03:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg