{"id":45990595,"url":"https://github.com/balavishnuvj/react-hooks-form-validator","last_synced_at":"2026-02-28T20:04:43.874Z","repository":{"id":37856512,"uuid":"234944103","full_name":"balavishnuvj/react-hooks-form-validator","owner":"balavishnuvj","description":"One react hook for all your form validations","archived":false,"fork":false,"pushed_at":"2023-01-06T02:27:01.000Z","size":2162,"stargazers_count":4,"open_issues_count":23,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-19T15:03:48.077Z","etag":null,"topics":["form-validation","form-validation-react","form-validator","hooks","react","react-hook","react-hooks","react-native","reactjs","use-form"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/balavishnuvj.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-19T18:17:59.000Z","updated_at":"2024-10-08T13:21:35.000Z","dependencies_parsed_at":"2023-02-05T03:01:45.058Z","dependency_job_id":null,"html_url":"https://github.com/balavishnuvj/react-hooks-form-validator","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/balavishnuvj/react-hooks-form-validator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balavishnuvj%2Freact-hooks-form-validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balavishnuvj%2Freact-hooks-form-validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balavishnuvj%2Freact-hooks-form-validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balavishnuvj%2Freact-hooks-form-validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/balavishnuvj","download_url":"https://codeload.github.com/balavishnuvj/react-hooks-form-validator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balavishnuvj%2Freact-hooks-form-validator/sbom","scorecard":{"id":224355,"data":{"date":"2025-08-11","repo":{"name":"github.com/balavishnuvj/react-hooks-form-validator","commit":"f240f9ca465481f751d27262760b0a833b6a4cf7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 1/21 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"79 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw","Warn: Project is vulnerable to: GHSA-w8qv-6jwh-64r5","Warn: Project is vulnerable to: GHSA-257v-vj4p-3w2h","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm","Warn: Project is vulnerable to: GHSA-phwq-j96m-2c2q","Warn: Project is vulnerable to: GHSA-ghr5-ch3p-vcr6","Warn: Project is vulnerable to: GHSA-r9p9-mrjm-926w","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44","Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-7r28-3m3f-r2pr","Warn: Project is vulnerable to: GHSA-r8j5-h5cx-65gg","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq","Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488","Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-7wpw-2hjm-89gp","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-qrpm-p2h7-hrv2","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p","Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-566m-qj78-rww5","Warn: Project is vulnerable to: GHSA-hwj9-h5mp-3pm3","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-44c6-4v22-4mhx","Warn: Project is vulnerable to: GHSA-4x5v-gmq8-25ch","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj","Warn: Project is vulnerable to: GHSA-vx3p-948g-6vhq","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-38fc-wpqx-33j7","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T03:21:15.345Z","repository_id":37856512,"created_at":"2025-08-17T03:21:15.345Z","updated_at":"2025-08-17T03:21:15.345Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29951104,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T18:42:55.706Z","status":"ssl_error","status_checked_at":"2026-02-28T18:42:48.811Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["form-validation","form-validation-react","form-validator","hooks","react","react-hook","react-hooks","react-native","reactjs","use-form"],"created_at":"2026-02-28T20:04:42.815Z","updated_at":"2026-02-28T20:04:43.859Z","avatar_url":"https://github.com/balavishnuvj.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1\u003eReact Hooks Form Validator\u003c/h1\u003e\n\n\u003ca href=\"https://www.joypixels.com/profiles/emoji/martial-arts-uniform\"\u003e\n  \u003cimg\n    height=\"80\"\n    width=\"80\"\n    alt=\"martial arts uniform\"\n    src=\"https://raw.githubusercontent.com/balavishnuvj/react-hooks-form-validator/master/other/uniform.png\"\n  /\u003e\n\u003c/a\u003e\n\n\u003cp\u003eSimple, extensible and config based form validation.\u003c/p\u003e\n\u003c/div\u003e\n\n**Small.** 9 KB (minified and gzipped).\n[Size Limit](https://github.com/ai/size-limit) controls the size.\n\n## Table of Contents\n\n- [The problem](#the-problem)\n- [This solution](#this-solution)\n- [Installation](#installation)\n- [Examples](#examples)\n  - [Basic Example](#basic-example)\n  - [Complex Example](#complex-example)\n  - [More Examples](#more-examples)\n- [API Reference](#api-reference)\n- [LICENSE](#license)\n\n## The problem\n\nYou want to write simple and maintainable form validations. As part of this goal, you want your validations to be simple yet accomadate your specifc needs. Be it in `React Web` or `React Native`. You should be able to add validations to more complicated components like Multi-Select, Date Time Picker. This also means it should easy to add validations with any design library you use,like [MATERIAL-UI](https://material-ui.com/), [Ant-D](https://ant.design/), [React Bootstrap](https://react-bootstrap.github.io/) etc. or even if you don't use one. You should be able to validate form from your server or any async validations for that matter.\n\n## This solution\n\nThe `React Use Form` is a very lightweight solution for validating forms. It provides react hooks to configure your form, in a way that encourages simpler way to validate form. It doesn't assume anything about your design.\n\n## Installation\n\nThis module is distributed via [npm](https://www.npmjs.com/) which is bundled with [node](https://nodejs.org/) and\nshould be installed as one of your project's `dependencies`:\n\n```\nnpm install --save react-hooks-form-validator\n\nyarn add react-hooks-form-validator\n```\n\nThis library has `peerDependencies` listings for `react` and `react-dom`.\n\n\u003e **NOTE: The minimum supported version of `react` is `^16.9.0`.**\n\n## Examples\n\n### Basic Example\n\n```jsx\nimport React from 'react';\nimport useForm from 'react-hooks-form-validator';\nimport { FormItem, Input, Button } from 'antd';\n\nconst formConfig = {\n  username: {\n    required: true,\n    min: 6,\n  },\n  password: {\n    min: 6,\n    max: 20,\n    required: true,\n  },\n};\n\nfunction FormComponent() {\n  const [fields, formData] = useForm(formConfig);\n  async function handleLogin() {\n    await login({\n      username: fields.username.value,\n      password: fields.password.value,\n    });\n  }\n\n  return (\n    \u003cform\u003e\n      \u003cFormItem errorMsg={fields.username.errorMsg} required\u003e\n        \u003cInput\n          id=\"username\"\n          size=\"large\"\n          placeholder=\"Enter your Email\"\n          onTextChange={fields.username.setValue}\n          value={fields.username.value}\n          hasFeedback\n        /\u003e\n      \u003c/FormItem\u003e\n      \u003cFormItem errorMsg={fields.password.errorMsg} required\u003e\n        \u003cInput\n          type=\"password\"\n          id=\"password\"\n          size=\"large\"\n          placeholder=\"Enter Your Password\"\n          onTextChange={fields.password.setValue}\n          value={fields.password.value}\n        /\u003e\n      \u003c/FormItem\u003e\n      \u003cButton\n        disabled={!formData.isValid}\n        onClick={handleLogin}\n        size=\"large\"\n        block\n      \u003e\n        Login\n      \u003c/Button\u003e\n    \u003c/form\u003e\n  );\n}\n\nexport default FormComponent;\n```\n\n### Complex Example\n\n```jsx\nimport React from 'react';\nimport useForm from 'react-hooks-form-validator';\nimport { FormItem, Input, Button } from 'antd';\n\nconst formConfig = {\n  username: {\n    required: true,\n    min: 6,\n    patterns: [\n      {\n        regex: new RegExp(/[a-zA-Z0-9]+/),\n        errorMsg: 'Please enter a only alpha numeric username',\n      },\n    ],\n  },\n  password: {\n    min: 6,\n    max: 20,\n    required: true,\n  },\n  confirmPassword: {\n    validate: (fieldValue, formValue) =\u003e {\n      const isPasswordSame = formValue.password === fieldValue;\n      return [isPasswordSame, 'Password and confirm password should be same'];\n    },\n  },\n};\n\nfunction FormComponent() {\n  const [fields, formData] = useForm(formConfig);\n  async function handleLogin() {\n    await login({\n      username: fields.username.value,\n      password: fields.password.value,\n    });\n  }\n\n  return (\n    \u003cform\u003e\n      \u003cFormItem errorMsg={fields.username.errorMsg} required\u003e\n        \u003cInput\n          id=\"username\"\n          size=\"large\"\n          placeholder=\"Enter your Email\"\n          onTextChange={fields.username.setValue}\n          value={fields.username.value}\n          hasFeedback\n        /\u003e\n      \u003c/FormItem\u003e\n      \u003cFormItem errorMsg={fields.password.errorMsg} required\u003e\n        \u003cInput\n          type=\"password\"\n          id=\"password\"\n          size=\"large\"\n          placeholder=\"Enter Your Password\"\n          onTextChange={fields.password.setValue}\n          value={fields.password.value}\n        /\u003e\n      \u003c/FormItem\u003e\n      \u003cFormItem errorMsg={fields.confirmPassword.errorMsg} required\u003e\n        \u003cInput\n          type=\"password\"\n          id=\"confirmPassword\"\n          size=\"large\"\n          placeholder=\"Confirm Your Password\"\n          onTextChange={fields.confirmPassword.setValue}\n          value={fields.confirmPassword.value}\n        /\u003e\n      \u003c/FormItem\u003e\n      \u003cButton\n        disabled={!formData.isValid}\n        onClick={handleLogin}\n        size=\"large\"\n        block\n      \u003e\n        Sign-Up\n      \u003c/Button\u003e\n    \u003c/form\u003e\n  );\n}\n\nexport default FormComponent;\n```\n\n### More Examples\n\nYou'll find runnable examples in [the `react-hooks-form-validator-examples` codesandbox](https://codesandbox.io/s/react-hooks-form-validator-examples-609ze).\n\n## API Reference\n\nBasic usage is like\n\n`const` `[`[`fieldObject`](#field-object)`, `[`formObject`](#form-object)`] = useForm(`[`formConfig`](#field-config)`);`\n\n`formConfig` is object with key as `fieldName` and value as `fieldConfig`\n\n### Example for config\n\n```js\n{\n    field1: config1,\n    field2: config2,\n    field3: config3,\n}\n```\n\n### Field Config\n\n| key          |             What it does?             |                        Type                         |                                                                                          Example |\n| ------------ | :-----------------------------------: | :-------------------------------------------------: | -----------------------------------------------------------------------------------------------: |\n| defaultValue |      Default value of the field       |                        `any`                        |                                                                                       `''`, `[]` |\n| required     |     To set the field as required      |        `Boolean` or `{ errorMsg : String }`         |                                                `true` or `{errorMsg: 'This is required field' }` |\n| min          |    To set minimun length of field     | `Number` or `{ errorMsg : String, length: Number}`  |                                         `5` or `{errorMsg: 'minimum of 5 character', length: 5}` |\n| max          |    To set maximum length of field     | `Number` or `{ errorMsg : String, length: Number}`  |                                         `5` or `{errorMsg: 'maximim of 5 character', length: 5}` |\n| patterns     | To validate against array of patterns |   `Array` of `{regex : RegExp, errorMsg: String}`   | `[{regex: new RegExp(/[a-zA-Z0-9]+/), errorMsg: \"Please enter a only alpha numeric username\" }]` |\n| validate     |         Function To validate          | `(fieldValue,formState) =\u003e [isValid, errorMessage]` |              ` [(fieldValue, formState) =\u003e [!!formState.country.id, 'Country id is mandatory']]` |\n\n### Field Object\n\n| key          |                What it does?                 |                                        Type |\n| ------------ | :------------------------------------------: | ------------------------------------------: |\n| value        |          Current value of the field          |                                         any |\n| errorMsg     |          Error message of the field          |                                    `String` |\n| isValid      |            Validity of the field             |                                   `Boolean` |\n| setValue     |   Function to set value and validate field   |                             `(value) =\u003e {}` |\n| updateConfig | Function to partially update a fields config | `(curentFieldConfig) =\u003e partialFieldConfig` |\n| validate     |        Function to validate the field        |                                  `() =\u003e {}` |\n| setValueOnly |  Function only set value without validating  |                             `(value) =\u003e {}` |\n\n### Form Object\n\n| key               |                      What it does?                      |                                    Type                                     |                                                                                                                                                 Example |\n| ----------------- | :-----------------------------------------------------: | :-------------------------------------------------------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------: |\n| isValid           |                  Validity of the form                   |                                  `Boolean`                                  |                                                                                                                                                         |\n| validate          |              Function to validate the form              |                                 `() =\u003e {}`                                  |                                                                                                                                                         |\n| addFieldConfig    |                 Dynamically add a field                 | `fn(fieldName, fieldConfig)` or `fn(fieldName, (formState)) =\u003e fieldConfig` | `formObject.addFieldConfig('useraname', { required: true })` or `formObject.addFieldConfig('useraname', (formState) =\u003e { required: !formState.email })` |\n| removeFieldConfig |               Dynamically remove a field                |                               `fn(fieldName)`                               |                                                                                                             `formObject.removeFieldConfig('useraname')` |\n| reset             | Resets the form config before adding or removing fields |                                 `() =\u003e {}`                                  |                                                                                                                                                         |\n| config            |                   Current form config                   |                                    `{}`                                     |\n\n## LICENSE\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalavishnuvj%2Freact-hooks-form-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbalavishnuvj%2Freact-hooks-form-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalavishnuvj%2Freact-hooks-form-validator/lists"}