Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    database error address line 2 required

    How can I do to have address line 2 as Required information field?

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,541
    Plugin Contributions
    127

    Default Re: address line 2 required

    Look at the file jscript_form_check.php in includes/modules/pages/create_account.

    Good luck,
    Scott
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    Default Re: address line 2 required

    I don't know how modify the file...

  4. #4
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    Default Re: address line 2 required

    Quote Originally Posted by swguy View Post
    Look at the file jscript_form_check.php in includes/modules/pages/create_account.

    Good luck,
    Scott
    I've had this on jscript_form_check.php:
    PHP Code:
    check_input("suburb", "<?php echo ENTRY_SUBURB_ERROR?>");
    I've also add this on create_account.php
    PHP Code:
     if (strlen($suburb) ==' ') {
        
    $error true;
        
    $messageStack->add('create_account'ENTRY_SUBURB_ERROR);
      } 
    but it don't work


  5. #5
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    Default Re: address line 2 required

    W O R K Fine

 

 

Similar Threads

  1. Making a "Address Line 2" registration field a required
    By vladimir_vulic in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 31 Jan 2019, 02:27 AM
  2. v138a Address Line 2, non-primary address
    By d0ugparker in forum General Questions
    Replies: 1
    Last Post: 20 Jan 2012, 01:37 PM
  3. address required
    By earmsby in forum Managing Customers and Orders
    Replies: 1
    Last Post: 23 Nov 2006, 12:46 PM

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