-
-
Notifications
You must be signed in to change notification settings - Fork 176
Dependencies
albertmoreno edited this page Aug 4, 2015
·
9 revisions
Laravel Javascript Validation uses JQuery Validation Plugin, php.js and php-date-formatter to validate forms.
This dependencies are bundled in the provided public/vendor/jsvalidation/js/jsvalidation.js
file, so including provided file you can load all dependencies.
This package also depends of jQuery, but it's not bundled into provided script, you have to include manually
To use this package you must include jQuery before the provided public/vendor/jsvalidation/js/jsvalidation.js
script
<html>
.....
<body>
.....
<!-- 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>
</body>
</html>