-
-
Notifications
You must be signed in to change notification settings - Fork 174
Basic Usage
albertmoreno edited this page Mar 17, 2015
·
47 revisions
Laravel Javascript Validation ships with a simple, convenient facility for configuring rules error messages via the JsValidator
facade.
The JsValidator
created by the Facade inherits from Laravel Validation, so you can use all methods and procedures that Laravel provides to
setup your validations.
When the instance is printed in a view the Javascript code needed to validate your form is rendered to the page.
To create validator you can use Laravel validation rules or defined Form Request
- Rulesets
- [Form Request] (Form-Request)