#Validate 

version: 0.1.7

> Validate is a requireJS module to validate forms, using jquery has dependency.

### Bower 

`
bower install validate
`

### Usage Example

First you need to define all required inputs using the class "required".

```html
<form id="frm-validate">
    <label for="email">E-mail</label>
    <input type="text" name="email" class="inputs required" />
</form>
```

### JavaScript Integration

Now, you need to create a validate instance.

**Pure JavaScript**
```js

define(['jquery', 'validate'], function ($, validate) {
    var frm = $('#frm-validate');
    var formvalidate = new validate.Validate(frm);

    //Check if form is valid
    if (formvalidate.isValid()) {
        //Code Here...
    }
});
```


## Contribuitors

* Erick Belfort [@erickbelfy](https://github.com/erickbelfy)


## License

Licensed under the MIT License

#Validate 

version: 0.1.7

> Validate is a requireJS module to validate forms, using jquery has dependency.

### Bower 

`
bower install validate
`

### Usage Example

First you need to define all required inputs using the class "required".

```html
<form id="frm-validate">
    <label for="email">E-mail</label>
    <input type="text" name="email" class="inputs required" />
</form>
```

### JavaScript Integration

Now, you need to create a validate instance.

**Javascript**
```js

define(['jquery', 'validate'], function ($, validate) {
    var frm = $('#frm-validate');
    var formvalidate = new validate.Validate(frm);

    //Check if form is valid
    if (formvalidate.isValid()) {
        //Code Here...
    }
});
```

## How to contribute

Install node dependencies, check package.json and bower.json

`
npm install && bower install
`

Use command `grunt release` to deploy your changes and create a new release tag if your PR was approved


## Contribuitors

* Erick Belfort [@erickbelfy](https://github.com/erickbelfy)


## License

Licensed under the MIT License

Insert how to contribute section
Insert how to contribute section
