CodeAbbey/abbey2

Form checkers for login page

Closed this issue · 1 comments

This task is for javascript (but it is comparatively small so probably it is ok even for those not well acquainted with it).

Let's make few scripts checking form fields before submit (or on clicking submit button). So that submission don't happen if anything is wrong (but some warning message appears).

  1. Check that neither username nor password is empty
  2. If two last fields (repeat password and email) are filled, they should be filled together.
  3. None of them should contain non-ascii characters.

Done by @mekas at #22