Skip to content

Latest commit

 

History

History
38 lines (19 loc) · 1.02 KB

README.md

File metadata and controls

38 lines (19 loc) · 1.02 KB

Form to practice and study the JavaScript language


Validation

Validation using some bootstrap classes, such as "is-invalid" and "is-valid". Validation via front-end through JavaScript.

Name

For name/surname, only a minimum length validation was used.

CPF

For the CPF, the standard calculation for CPF validation used by the Federal Revenue was used.

Telephone

For Telephone and Cellular, minimum sizes were used for area code and numbers with 8 digits for telephones and 9 digits for cell phones, totaling 10 numbers for telephone and 11 for cell phones.

Email

For the email, the presence of the "@" and the presence of a period after the "@" was used.

Password

Password not very restrictive, requiring more than 8 digits. Password confirmation used in direct comparison with the password entered in the field.


Responsiveness

Responsiveness applied to the form using Bootstrap and its classes for form control.

Ilustração