Results 1 to 9 of 9
  1. #1
    Join Date
    Aug 2009
    Posts
    22
    Plugin Contributions
    0

    Default Registration Form Validation Problem

    Hi

    I have been doing a lot of searching to find an answer to this issue and have found nothing. I am assuming it's not a bug as I am sure it would be well documented if this were the case, so I was unsure where to post this question.

    When a customer registers their details on the site I am working with, if the form does not validate, they are asked to correct the details that are invalid. However, on resubmitting the form, it will not process successfully even if the form is filled with valid data. A notice appears at the top of the screen which says

    "Please click here to try creating your account again. If you continue to have problems please use the livehelp facility"

    I don't think this is an environmental issue, as the same thing happens on my Windows based dev machine and the Linux based server.

    Is this a known problem? Is there a workaround?

    Any help or advice would be gratefully received!

  2. #2
    Join Date
    Aug 2009
    Posts
    22
    Plugin Contributions
    0

    Default Re: Registration Form Validation Problem

    I have been discussing this issue with a colleage and it seems the message I gave in my previous post was put in because of the issue.

  3. #3
    Join Date
    Aug 2009
    Posts
    22
    Plugin Contributions
    0

    Default Re: Registration Form Validation Problem

    Is this really just an isolated issue? It's such an important part of the site that, I find it hard to believe! I'm new to Zen Cart and don't really know where to start dealing with this, so any help anyone can give will be gratefully received

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

    Default Re: Registration Form Validation Problem

    Some info about your site would help:

    Zencart version
    Mods installed
    Template installed
    Any other modifications, especially to the Create Account functions

    And, as always, a link to the site in question.

    I can't recreate the problem in a stock Zencart installation.

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

    Default Re: Registration Form Validation Problem

    OK thanks - heres the info I have.

    Server OS: Linux 2.6.28-11-server

    Zen Cart 1.3.8a
    Patch: 1::
    Database Patch Level: 1.3.8
    v1.3.7 [2007-01-08 20:04:19] (Version Update 1.3.6->1.3.7)
    v1.3.6 [2006-12-01 20:07:20] (Version Update 1.3.5->1.3.6)
    v1.3.5 [2006-09-29 18:37:58] (Version Update 1.3.0.2->1.3.5)
    v1.3.0.2 [2006-07-25 21:39:49] (Version Update 1.3.0.1->1.3.0.2)
    v1.3.0.1 [2006-07-25 21:39:49] (Version Update 1.3.0->1.3.0.1)
    v1.3.0 [2006-07-25 21:39:49] (Version Update 1.2.7->1.3.0)
    v1.2.7 [2006-07-25 21:39:49] (Version Update 1.2.6->1.2.7)
    v1.2.6 [2006-07-25 21:39:49] (Version Update 1.2.5->1.2.6)
    v1.2.5 [2005-06-21 20:02:01] (Fresh Installation)

    I know we are using Products with attributes stock and the advanced notes plugin, but other than that I am unsure. I have only just started working with this site and as far as I can see so far it's been quite badly maintained. The users of the site have limited information about it. I don't think they have installed any templates.

    The site can be seen here

    Thanks again for any advice anyone can give me!

  6. #6
    Join Date
    Aug 2009
    Posts
    22
    Plugin Contributions
    0

    Default Re: Registration Form Validation Problem

    Ok, so I have worked out a bit of what is going on. When the reg form is validated the validation script looks in $_POST to get the country value entered in the form, using the name
    Code:
    zone_country_id
    . If the form doesn't validate and the user has to try again, the form is submitted with
    Code:
    country
    in $_POST instead. So the valication script still looking for
    Code:
    zone_country_id
    is unable to find a value and fails.

    I'm now trying to find out how it gets the 2 different names, but not having that much luck as of yet!

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

    Default Re: Registration Form Validation Problem

    Notice that you have both the County/State dropdown and also the manual input box for the same field. That can be a template or Javascript problem.

    What happens if you deactivate the dropdown in Admin?

  8. #8
    Join Date
    Jul 2008
    Location
    london
    Posts
    169
    Plugin Contributions
    0

    Default Re: Registration Form Validation Problem

    Hi, the dropdown for state/province/county, is not pre filled.
    Shouldn't be?
    On a passing note, what file do you edit to show state/province/county?
    I did a search and stumbled on this thread. I hope you don't mind?

    Thanks, in advance

    Soul39

  9. #9
    Join Date
    Aug 2009
    Posts
    22
    Plugin Contributions
    0

    Default Re: Registration Form Validation Problem

    Hi

    I think the site was tweaked for some reason to have the country twice, something to do with being in the UK, probably a better way to handle it but was nothing to do with me!

    I managed to fix the error with a small ammendment to a template in the end.

 

 

Similar Threads

  1. Registration Form Validation Problem
    By vb023 in forum General Questions
    Replies: 1
    Last Post: 29 Jan 2013, 02:42 PM
  2. Login - registration form validation problem
    By Blackguard in forum General Questions
    Replies: 4
    Last Post: 22 Jun 2007, 05:36 PM
  3. 2 step registration / email validation
    By verybyte in forum General Questions
    Replies: 1
    Last Post: 8 Jan 2007, 11:46 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