Results 1 to 6 of 6
  1. #1

    Default Custom Contact Form - New Input Fields

    Hi,

    I'm trying to add new contact field to my site's contact page.

    I edited the tpl_Contact_us page and contact_us.php files to add the fields. However when I try test messages the new fields don't get sent in the email.

    I know I have to edit the file where the form is actually sent from to add those new fields, however i don't know which files!

    Any help is appreciated.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,374
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Custom Contact Form - New Input Fields

    /includes/modules/pages/contact_us/header_php.php
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3

    Default Re: Custom Contact Form - New Input Fields

    Thanks Dr Byte,

    I found the file but now I cant figure out where to add my new form IDs

  4. #4

    Default Re: Custom Contact Form - New Input Fields

    I know you are all busy. I would honestly appreciate it if you can help me out with this

    Thank you

  5. #5
    Join Date
    Jan 2004
    Posts
    66,374
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Custom Contact Form - New Input Fields

    Here's an example of a customized type of contact-us form, copied from contact-us and retrofitted to collect several fields of data as registration details.
    You can use it as inspiration. The discussion in the rest of the thread may be useful too.
    http://www.zen-cart.com/forum/showth...482#post386482
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6

    Default Re: Custom Contact Form - New Input Fields

    Thanks. I ended up having to put the final touches (missing parts) in contact_us.php file

 

 

Similar Threads

  1. Contact us page - input fields how to align?
    By ekele in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Jan 2011, 01:25 PM
  2. Form validation for input text fields?
    By vooboo13 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 21 Jun 2010, 04:56 PM
  3. How to process contact form with new fields data
    By corvettesalvage in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 May 2009, 05:33 PM
  4. Custom/Edit Input Fields
    By brotherhud in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Oct 2006, 03:58 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR