Validation of the registration form - intive/patronage21-qa GitHub Wiki

  1. Pan/Pani - it is obligatory to choose one option

  2. Name [letters] min 2 max 30

  3. Surname [letters, "-" and " "] min 2 max 30

  4. Email [email format] from a dedicated library for a given language

  5. Phone [digits] exactly 9

  6. Technologies [checkboxes] min 1 max 3

  7. Login [letters and digits] min 2 max 15

  8. Password [at least one uppercase letter, one lowercase letter, one number and one special character] min 8 max 20

    regex: ^(?=.[a-z])(?=.[A-Z])(?=.\d)(?=.[@$!%?&])[A-Za-z\d@$!%?&]{8,20}$

  9. Github URL [http[s]://][www.][github.com/][username may only contain alphanumeric characters or single hyphens, and cannot begin or end with a hyphen, max 39 characters]

  10. Consents [checkboxes] all required must be checked