#8 Make Advance E-com Website in Laravel 6.0 | Laravel Validation | Writing Validation Logic Last ned

Send til vennene dine
Legg til
  • Hadde premiere 5. mar. 2020

  • In Part-8 of Advance E-com series, we will add Laravel validations for admin login form. We will follow below Laravel link for integrating Laravel validations for admin login :- https://laravel.com/docs/6.x/validation 1) Update login function :- Update login function located at AdminController and write validator code for email and password as shown in video. Take help from https://laravel.com/docs/6.x/validati... for writing validation logic. 2) Update admin_login.blade.php file :- Now update admin_login.blade.php file to display the error if validation fails for email and password. You can check this at Laravel website under "Displaying The Validation Errors" section. https://laravel.com/docs/6.x/validati... 3) Update Header Statement :- Now add below statement at the top of AdminController to include Validator class for Laravel validation :- use Validator; Check now validation is working fine in admin login form. Default error message will come for email and password but we can write custom error message for email and password. 4) Update login function :- For custom error messages, we will write validation logic in one array and custom error messages in another and then validate them as shown in video. We will learn more about Laravel validations in future videos when we work on other forms. In next video, we will work on settings page for change password functionality. Thanks for watching :)

Kommentarer

  • 鄭耀琮
    鄭耀琮 For 7 md. siden (redigert)

    I love these tutorials when I started learning Laravel, my Laravel version is 6.1.

  • Monkey Baboo
    Monkey Baboo For 2 md. siden

    Really a tutorial that i was looking for many days

  • Ajay Singh
    Ajay Singh For 2 md. siden

    Thank you for this awesome series.

  • Utkarsh Sahu
    Utkarsh Sahu For 1 md. siden

    This tutorial resolved my problem. Please upload all the lectures.

  • Aaku
    Aaku For 4 md. siden

    sir i tryed validation with the help of custom request.

  • Ian Rifad Sha
    Ian Rifad Sha For 1 uke siden

    Really love these videos

  • Rahul
    Rahul For 2 md. siden

    Thank You

  • Md. Sharfuzzaman
    Md. Sharfuzzaman For 1 md. siden

    Great tutorial

  • Ian Rifad Sha
    Ian Rifad Sha For 1 uke siden (redigert)

    Hi sir i wanted to change visitors graph USA into World Map how can i do it?

  • Galib Web
    Galib Web For 6 md. siden

    SweeetAlert would be great! Thanks for the awesome tutorial!

  • Ajith Kumar
    Ajith Kumar For 2 md. siden

    Nice sir