O
O
oxid722015-08-18 22:48:01
JavaScript
oxid72, 2015-08-18 22:48:01

What is the best way to do ajax validation in Laravel 5?

Can you please tell me what methods you use to organize ajax form validation? Do you get json and manually stuff labels with errors into components, or is there something already ready? Perhaps something that works with the html / form component cut in laravel 5?
ps after Yii it's even somehow strange to bother with such "banal" things)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
D', 2015-08-18
@Denormalization

And what about Laravel?
This is the task of the frontend, to correctly place the errors and show them. Well, it does not depend on the backend at all.
The fact that Yii has its own bicycle for this is not an indicator.
How to show errors and how to handle them depends entirely on the technologies (libraries) that are used on the front.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question