Functions to validate, submit, and manage forms in web applications. ๐
Web Browser
- Can be used as an emulator to build applications. Example [Chrome, Firefox, Safari & Opera].Internet
- Because many use CDN and to make it easier to find solutions to all problems.
const { validateEmail, validateURL } = require('./src/formHandlingUtils');
// Validate email
console.log(validateEmail('[email protected]')); // Output: true
console.log(validateEmail('example.com')); // Output: false
// Validate URL
console.log(validateURL('https://www.example.com')); // Output: true
console.log(validateURL('example.com')); // Output: false
validateEmail(email)
: This function validates whether the provided email address is in a valid format.validateURL(url)
: This function validates whether the provided URL is in a valid format.
For the validateEmail() function:
- Returns true if the email is valid.
- Returns false if the email is invalid.
For the validateURL() function:
- Returns true if the URL is valid.
- Returns false if the URL is invalid.
- v1.0.0 : 07 March 2024
- v1.0.1 : 11 March 2024
- v4.0.0 : 11 March 2024
- v4.0.1 : 13 March 2024
- v4.0.2 : 18 March 2024
- v5.0.0 : 31 March 2024
- Facebook : Oned Ionys
- Instagram : @onedionys
- Twitter : @onedionys
- LinkedIn : @onedionys
- Copyright ยฉ 2024 One Dionys
- One Dionys - Form Handling Utilities is an open source project licensed under the MIT license
Love One Dionys - Form Handling Utilities? Support this project by donating or sharing with others in need.
Made with โค๏ธ One Dionys