An open API service indexing awesome lists of open source software.

https://github.com/architgargpro/js-form

A basic form validation example in javascript using regular expressions.
https://github.com/architgargpro/js-form

Last synced: 4 months ago
JSON representation

A basic form validation example in javascript using regular expressions.

Awesome Lists containing this project

README

          

# A program that shows a form on web browser
>A basic form validation on different types of components

### With Fields:
-email
-password
-sex (drop down with option of male, female, other)
-Role ( Radio button with option of Admin and User)
-Permissions (Checkbox with options Perm1, Perm2, Perm3, Perm4)
-Submit button

###### Form is validated on click of Submit button
### Validations:
1. All fields should be filled.
2. Email should be valid
3. password should be min 6 character with MIX of Upercase, lowercase, digits
4. Atleast 2 permissions should be ticked.

##### If all validation pass, the form and submit button should disapper and all the filled in details in the form should appear with a Confirm Button.