Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2007
    Posts
    54
    Plugin Contributions
    0

    Default zip code disappears on create account reset - How Did you Hear addon

    Hi,
    I have an unusual problem when someone trys to create an account. When they fill out the form but miss something important, for example, they did not reconfirm their password. Then zen cart tells them they did not fill in the password confirmation when they try to submit the form. Everything else is still pre filled in except the post code or zip code which deletes. This happens when even the basic zen cart is installed. It means that when the customer fills in the password confirmation and try to submit again they then get an error message saying that the postcode is not filled in. I am using Zen-Cart version 1.38.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Post code or zip code disappears on create account reset

    URL where this can be seen?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Jan 2007
    Posts
    54
    Plugin Contributions
    0

    Default Re: Post code or zip code disappears on create account reset

    Hi,
    Sorry the link is http://www.shop4makeup.com/index.php...create_account

    I used the wrong example by mistake with regards to the password confirmation as that gives a Java script error and so does not refresh the page. However, it occurs with the email address reconfirmation and how did you hear about us fields where if you leave it blank or enter in the wrong details then it refreshes without the post code. Is there any way to put everything as java script errors so the page does not refresh?

  4. #4
    Join Date
    Jan 2007
    Posts
    54
    Plugin Contributions
    0

    Default Re: Post code or zip code disappears on create account reset

    Hi,
    I managed to fix the email address confirmation I had missed out some of the instructions from the confirm_email_address_entry add on. So I am wondering is it possible to do a java script error pop up How did you hear about us add on. I could possibly be able to try and make something but it would take me a lot of trial and errors. Has anyone got a template for how to do the java script error pop up or do I try and work it out from the confirm_email_address_entry add on. Any help would be much appreciated please.

  5. #5
    Join Date
    Jan 2007
    Posts
    54
    Plugin Contributions
    0

    Default Re: Post code or zip code disappears on create account reset

    I did manage to do a javascript error for the How did you hear about us add on as follows:

    1. First install How did you hear about us add on

    2. Then find

    /includes/languages/YOURTEMPLATE/english.php

    Search for:
    define('ENTRY_REFERENCE_FROM', 'How did you hear about us?');

    …right after that line enter the following…

    define('ENTRY_REFERENCE_FROM_ERROR', 'You must select a choice from How did you hear about us? pull down menu.');

    3. Then find
    /includes/modules/pages/create_account/jscript_form_check.php

    Search for:

    check_select("country", "", "<?php echo ENTRY_COUNTRY_ERROR; ?>");

    …right after that line enter the following…

    check_select("source", "", "<?php echo ENTRY_REFERENCE_FROM_ERROR; ?>");

    That should give a java script error for the dropdown menu itself.

    However, I need some help to do a javascript error if someone chooses the "other" option from the how did you hear about us drop down menu but leaves the "other" field blank. Any help would be greatly appreciated.

 

 

Similar Threads

  1. Help uninstalling How Did You Hear About Us addon
    By CybaGirl in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 23 Aug 2011, 11:44 PM
  2. Looking to add "How did you hear about us?" drop down to create account
    By nicole1204 in forum Customization from the Admin
    Replies: 1
    Last Post: 12 Jul 2010, 06:42 PM
  3. Replies: 2
    Last Post: 23 Jul 2009, 02:11 PM
  4. 'how did you hear about us' addon
    By oksana in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 12 Jun 2009, 01:36 AM
  5. How did you hear & Checkout wo account mod
    By ReeFlippee in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 11 May 2008, 01:13 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