<commit_before>title: Form Validation
---
Recommended package for Form Validations is `Vuelidate`.
Get started with the [documentation](https://monterail.github.io/vuelidate/).

## Example

``` html
<template>
  <div>
    <q-input
      v-model="form.email"<commit_msg>Updates<commit_after>title: Form Validation
---
Recommended package for Form Validations is `Vuelidate`.
Get started with the [documentation](https://monterail.github.io/vuelidate/).

## Installation of Vuelidate
```bash
$ npm install --save vuelidate
$ quasar new plugin vuelidate
```
An app plugin file got created: `/src/plugins/vuelidate.js`. We edit it:
```js
import Vuelidate from 'vuelidate'

export default ({ Vue }) => {
  Vue.use(Vuelidate)
}
```
We then edit `/quasar.conf.js` to add the app plugin file to the build:
```js
plugins: ['vuelidate']
```

## Example

``` html
<template>
  <div>
    <q-input
      v-model="form.email"
{'fraction_non_alphanumeric': 0.145993413830955, 'fraction_numerical': 0.0, 'mean_word_length': 4.181818181818182, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 8, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7041868', 'n_tokens_mistral': 331, 'n_tokens_neox': 313, 'n_words': 88}