Skip to content

Configuration

albertmoreno edited this page Aug 10, 2015 · 18 revisions

The package uses Jquery Validation Plugin bundled into jsvalidation.js to perform Laravel Validations , so you must include include it your views after jquery.

After assets published, they will be copied to your public folder.

 <!-- Scripts -->
 <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
 <script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.1/js/bootstrap.min.js"></script>

 <!-- Laravel Javascript Validation -->
 <script type="text/javascript" src="{{ asset('vendor/jsvalidation/js/jsvalidation.js')}}"></script>

The package works out of box with default settings if you are using Bootstrap. If it isn't your case, you can modify the package settings and views.

Clone this wiki locally