This repository has been archived by the owner on Oct 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
JS script to validate forms
License
kvervo/validate-forms
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
How to write the HTML so the JS can validate it <span id="field_nameErr" class="error">Error Message</span> // Requierd <label for="field_name">Label</label> // Optional <input type="text" id="field_name" name="field_name"/> // Required The validation happens by the ID in the INPUT tag. Also the validation will happen if only the element has an error message with an ID equals to ID+'Err'.
About
JS script to validate forms
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published