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.
- Host: GitHub
- URL: https://github.com/architgargpro/js-form
- Owner: ArchitGargPro
- Created: 2019-11-01T15:38:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-01T20:21:45.000Z (over 6 years ago)
- Last Synced: 2025-03-13T09:21:04.121Z (over 1 year ago)
- Language: HTML
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.