A snippet for creating form with validation without a library, using code from this article
I added a function for resetting form and resetting specific form using resetForm
, and create the UI using Chakra UI library
Clone the repo
git clone https://github.com/technowizard/custom-form-validation.git
cd custom-form-validation
Install packages and dependencies
yarn // or yarn install
yarn dev