Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2009
    Posts
    128
    Plugin Contributions
    0

    Default Page contact us: set up to type 2 times the email address to check it is correct?

    Hi,

    I'd like to change the "ccontact us" page on zen cart: the email address should be typed two times by the customer and a script should check that the two email addresses are the same.

    In this way the customer can not mistake the email address.

    Could you tell me how to do this?
    Any suggestion?

    Thank you very much for your help!

  2. #2
    Join Date
    Apr 2009
    Posts
    155
    Plugin Contributions
    1

    Default Re: Page contact us: set up to type 2 times the email address to check it is correct?

    If the customer is logged in when they contact you, their name and email address are pre-loaded into the form. You might want to require extra confirmation for non-logged in only. It would be annoying from a customer standpoint to have to re-type information already there. ;)

    But it's definitely possible and probably not that difficult to do. You'd have to add another form field to the contact page template and pick it up in the header for processing, where you can add a condition to only display the confirmation field to those not logged in, as well as one to return an error if the two email addresses don't match.

    includes/modules/pages/contact_us/header_php.php
    includes/templates/template_default/tpl_contact_us_default.php (move to override directory for your custom template after you modify it)
    includes/languages/english/contact_us.php - if you need to add or change definition text, should also be moved to override.

    Hope this helps. :)
    [FONT="Verdana"]If you want something done right, you have to get Zenned.
    ♥~-My Zen Cart Mods-~♥[/FONT]

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Page contact us: set up to type 2 times the email address to check it is correct?


  4. #4
    Join Date
    Aug 2009
    Posts
    128
    Plugin Contributions
    0

    Default Re: Page contact us: set up to type 2 times the email address to check it is correct?

    Yes but that addition is only for the registration form... I'd need it for the contact us form...

  5. #5
    Join Date
    Aug 2009
    Posts
    128
    Plugin Contributions
    0

    Default Re: Page contact us: set up to type 2 times the email address to check it is correct?

    Quote Originally Posted by ToniScraparoni View Post
    If the customer is logged in when they contact you, their name and email address are pre-loaded into the form. You might want to require extra confirmation for non-logged in only. It would be annoying from a customer standpoint to have to re-type information already there. ;)

    But it's definitely possible and probably not that difficult to do. You'd have to add another form field to the contact page template and pick it up in the header for processing, where you can add a condition to only display the confirmation field to those not logged in, as well as one to return an error if the two email addresses don't match.

    includes/modules/pages/contact_us/header_php.php
    includes/templates/template_default/tpl_contact_us_default.php (move to override directory for your custom template after you modify it)
    includes/languages/english/contact_us.php - if you need to add or change definition text, should also be moved to override.

    Hope this helps. :)
    Thank you for the suggestion... Do you have also the code to be put in the pages?

    Thank you

 

 

Similar Threads

  1. Customizing the check out page by adding a dropdown menu of delivery times
    By watzursn in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 20 Oct 2011, 09:49 PM
  2. contact us page not showing my correct name and address
    By johnie5 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 28 Oct 2010, 06:45 AM
  3. Where do I specify the email address used for the Contact Us page?
    By photoseller in forum Customization from the Admin
    Replies: 4
    Last Post: 29 Jun 2010, 05:19 AM
  4. Replies: 2
    Last Post: 21 Feb 2010, 04:33 AM
  5. Where to set the email address "Contact form" entry go?
    By e81ny in forum Basic Configuration
    Replies: 3
    Last Post: 11 Aug 2008, 02:53 PM

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