{{-- This page is 'include'-ed in front/products/checkout.blade.php, and will be used by jQuery AJAX to reload it, check front/js/custom.js --}}
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) --}}