Can anyone tell me when i used ajax to send data from form to laravel controller it is best used js to validate data or used laravel controller to validate data or used the two together
It is best to use the same twice in frontend, used js validate to make form more logics and in backend used laravel validate data because user can't access on it but he can access on frontend