Questions tagged [jsvalidation]

16 questions
3
votes
1 answer

proengsoft/laravel-jsvalidation How to use Custom Rule Messages?

I use proengsoft/laravel-jsvalidation in combination with a custom FormRequest and custom validation rules that I defined via Validator::extend(...) in a service provider. This works well. However, when I port my custom rules to the new(ish) custom…
foob.ar
  • 445
  • 2
  • 9
  • 19
2
votes
1 answer

Custom Validation Attributes for Array Type Form Fields using proengsoft/laravel-jsvalidation in Laravel 5.2

I am creating a CRUD using dimsav translatable and proengsoft/laravel-jsvalidation packages for Laravel. The form field names have to follow an array structure like this...
{!! Form::label("es[title]",…
Harley Fuagras
  • 499
  • 4
  • 12
2
votes
2 answers

Laravel JsValidation is not working with Ajax submitted form

I'm using Laravel JsValidation, JsValidation working properly with other forms, but because I should submit the form with Ajax, JsValidation is not working properly, and form submitted. $validator = JsValidation::make($rules); and in view…
jones
  • 1,423
  • 3
  • 35
  • 76
1
vote
1 answer

How do you display your own error messages with laravel-jsvalidation?

I would like to figure out how to create your own error messages for your rules (e.g. regular expression rules) to be reused by both server PHP and client javascript (using jqueryvalidation through laravel-jsvalidation ) I have tried and can not…
user743436
  • 324
  • 2
  • 14
1
vote
1 answer

client validation in laravel 5.4

I have used this https://github.com/proengsoft/laravel-jsvalidation for client side validation. Server side validation is working but client side onFocusout validation is not fire. In composer file Laravel 5.4 "proengsoft/laravel-jsvalidation":…
Rups
  • 51
  • 11
1
vote
1 answer

Different title when input invalid and input empty

I have an input: If I input a number, the title will appear. But if I don't input anything, it will give the same error title. How…
Bariq Dharmawan
  • 755
  • 4
  • 16
  • 26
1
vote
0 answers

Laravel 5.2 Array Validation with JSValidation

I'm using Laravel 5.2 and validate my form via FormRequest. Additionally I installed Proengsoft/JSValidation (https://github.com/proengsoft/laravel-jsvalidation) in Master Branch. In my Form I have some fields, which are represented as arrays in my…
Scoy
  • 23
  • 5
1
vote
1 answer

Validate Laravel form in real time using laravel-jsvalidation

I am using laravel-jsvalidation to validate forms on client side but the plugin validate the form after submit. How can I change it to a real-time validation while user is inputting data? Calling plugin: