Answer the question
In order to leave comments, you need to log in
Validation of fields on the client?
Good afternoon, the crux of the matter.
In yii2 there is js field validation when filling out of the box.
In laravel, as I understood from the box, there is nothing like that, and the only third-party that I found is proengsoft/laravel-jsvalidation.
In principle, it works and is quite good, and even checks unique on the fly, which is not the case in yii2.
Are there any other options or is this the only humane solution not to write the same rules on the client and on the server?
Answer the question
In order to leave comments, you need to log in
You can send data via ajax and see the validation response on the client, in principle, proengsoft / laravel-jsvalidation is quite enough.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question