Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2006
    Posts
    12
    Plugin Contributions
    0

    Default [Solution Question]Input validation during signup process

    I'd like to disable any kind of input validation on four text fields on the signup page (see attach.): ZIP code, Country, State, and City. I completely do not need those since my zen-cart installation won't be used by any outside customers so having them is kinda pointless and redundant because they will always be constant.

    I checked files in the following folders:
    /var/www/html/zen-cart/includes/modules/pages/create_account/
    /var/www/html/zen-cart/includes/modules/pages/create_account_success/
    and their respective templates in:
    /var/www/html/zen-cart/includes/templates/template_default/templates/

    and I couldn't find any input validation checks there.
    Can someone point out to me which files need to edited in order to disable input validation for ZIP, State, and optionally for City and Country.

    Thanks!
    Attached Images Attached Images  

  2. #2
    Join Date
    Sep 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: [Solution Question]Input validation during signup process

    I totally forgot about one more important fact. I already got rid of the input fields for City/State on the signup page. That's why I'm getting validation response to correct the "missing" fields while in fact I want them to be missing.

  3. #3
    Join Date
    Nov 2005
    Location
    Netherlands
    Posts
    53
    Plugin Contributions
    0

    Default Re: [Solution Question]Input validation during signup process

    in ADMIN->Conf->Min Values.
    You set the value of the removed fiels to 0. After that the validation should proceed without protesting.
    zensational

  4. #4
    Join Date
    Sep 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: [Solution Question]Input validation during signup process

    Quote Originally Posted by Rik View Post
    in ADMIN->Conf->Min Values.
    You set the value of the removed fiels to 0. After that the validation should proceed without protesting.
    Doesn't get any easier than this!!

    Thank you.

    Altough, I was able to fix the ZIP, city, and state it still validates the country.
    How do I disable country validation? Is it done with zones maybe?

 

 

Similar Threads

  1. Input Validation
    By Mike D in forum General Questions
    Replies: 0
    Last Post: 26 Feb 2014, 10:51 PM
  2. setting default country during signup?
    By denniszc in forum General Questions
    Replies: 6
    Last Post: 12 Aug 2013, 02:18 PM
  3. Replies: 2
    Last Post: 28 Jul 2011, 02:26 PM
  4. Payments during new user signup
    By morestar in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 2 Jan 2008, 08:36 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