First and Last Name

Discussion in 'Templates customization' started by gungeuk, May 4, 2011.

  1. gungeuk

    gungeuk New Member

    Joined:
    Aug 13, 2010
    Messages:
    9
    If you were to submit a blank form for example, on the first and last name, it says:

    This field is required. This field is required.

    How do I either get it to show one name box (as a full name) or to get it to say, First and Last name are required.

    Also, is there a way that instead of having the error messages next to that particular field, it has any errors in a box at the top of the page, eg:

    Errors:
    First name and Last name are required,
    Address is incomplete


    etc
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Last is possible if you will disable javascript validation in signup.html template. (Remove $("#signup").validate() block.
    Other can be done with javascript code customizations.
  3. gungeuk

    gungeuk New Member

    Joined:
    Aug 13, 2010
    Messages:
    9
    I'm new with Php, could you possibly post a sample code that I could use on signup.html template that will put a block at the top with any errors?
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
  5. mgracia

    mgracia New Member

    Joined:
    Mar 17, 2012
    Messages:
    12
    Where within the Amember Pro software (version 4.1.13) is the jquery validation script?
  6. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Not sure I've understood.
    Plugin itself can be found in /application/default/views/public/js/jquery/jquery.validate.js

Share This Page