Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add js validation form #88

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Dec 20, 2011

  1. Debug: The name of the directory is now visible under the album.

    Even if user is logged as root or uploader.
    [email protected] committed Dec 20, 2011
    Configuration menu
    Copy the full SHA
    8e0c855 View commit details
    Browse the repository at this point in the history
  2. Debug: The next and prev function loops again properly.

    Have fun with the slideshow
    mikeSimonson committed Dec 20, 2011
    Configuration menu
    Copy the full SHA
    6ea0abf View commit details
    Browse the repository at this point in the history
  3. Debug : Respect of standard.

    I plead guilty, it's for IE not to fall into quirks mode.
    Otherwhise it's not a problem for any other browser.
    mikeSimonson committed Dec 20, 2011
    Configuration menu
    Copy the full SHA
    80fd366 View commit details
    Browse the repository at this point in the history
  4. WIP: adding validation engine in the register form.

    The goal is not to send the form if the username is already taken.
    This is checked by a ajax call.
    mikeSimonson committed Dec 20, 2011
    Configuration menu
    Copy the full SHA
    a0190b0 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2011

  1. Adding js validation for the register form.

    To do that I have used the jquery validation engine
    and the jquery i18n plugin to internationalize it.
    It's now easy to add validation of any kind to other
    form and to translate other part in js.
    
    The validation is divided in different part.
    All the validations that are written above the fields
    are enforced like only number & letter or min
    6 char.
    But there is also an ajax call that's made to make
    sure the username is not already taken.
    If the form fail to comply with any of those validation
    it won't be send and a prompt will show with a
    message explaining the problem.
    mikeSimonson committed Dec 21, 2011
    Configuration menu
    Copy the full SHA
    c19464c View commit details
    Browse the repository at this point in the history