-
-
Notifications
You must be signed in to change notification settings - Fork 174
Configuration
albertmoreno edited this page Mar 16, 2015
·
18 revisions
Since the package uses Jquery Validation Plugin you should include it in (and include jquery of course) your views. 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 you are not using Bootstrap you can modify the package Settings and customize Javascript View to adapt to your HTML layout.