{{-- This page is accessed from My Account tab in the dropdown menu in the header (in front/layout/header.blade.php). Check userAccount() method in Front/UserController.php --}} @extends('front.layout.layout') @section('content')
tag after every field --}} {{-- We structure and use a certain pattern so that the
id pattern must be like: delivery-x (e.g. delivery-mobile, delivery-email, ... in order for the jQuery loop to work. And x must be identical to the 'name' HTML attributes (e.g. the with the name='mobile' HTML attribute must have a
with an id HTML attribute id="delivery-mobile" ) so that when the vaildation errors array is sent as a response from backend/server (check $validator->messages() inside the method inside the controller) to the AJAX request, they could conveniently/easily be handled by the jQuery $.each() loop. Check front/js/custom.js) --}} {{--
--}} {{-- if the Validation passes / is okay but the login credentials provided by the user are incorrect, this'll be used by jQuery to show a generic 'Wrong Credentials!' message. Or to show a message when the user's account is inactive/disabled/deactivated --}} {{-- if the Validation passes / is okay but the login credentials provided by the user are incorrect, this'll be used by jQuery to show a generic 'Wrong Credentials!' message. Or to show a message when the user's account is inactive/disabled/deactivated --}} {{-- Update details Success Message using jQuery. Check $('#accountForm').submit(); in front/js/custom.js --}} {{-- --}}