Skip to content

xianhuifeng/form-validation-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Form-Validation-React

This form is designed to be as reuseable as possible:

  • Need to add another field? No problem. Just add your new field to Data.js, and add validation rules in Util.js. You are all set!
  • Yes, no need to modify App.js at all.

Table of Contents

  1. Development
  2. Installing Dependencies and Start Locally
  3. Changes will be implemented in future
  4. Author

Development

  • JQuery
  • React
  • CSS3

Installing Dependencies and Start Locally

npm install
npm start

Changes will be implemented in future

  1. Create components for form-group.
  2. Organize and refactor App.css file.
  3. Refactor validatePattern function, add validateRequire function if not all is-required.
  4. Add unit test.

Author

Xianhui Feng