title: How to show a Bootstrap notification / toast (MDBootstrap) after Laravel return an error
body: <p>I'm doing a small project in the style of Instagram but with basic features <strong>using Larvel and MDBootstrap</strong>.</p>
  
  <p><a href="https://i.stack.imgur.com/197xC.png" rel="nofollow noreferrer">Showing my design</a></p>
  
  <p>I am making the form to edit personal information. Which is valid using <strong>Laravel</strong>, I want that when <strong>Laravel</strong> returns an error of the form it shows a "Toast Notification" of error in the page of the form.</p>
  
  <p>These "toast" notifications are triggered by clicking on a button, they have no body in the HTML, they are ready to be used when u call them.</p>
  
  <p><a href="https://i.stack.imgur.com/KoKle.png" rel="nofollow noreferrer">showing "toast notification"</a></p>
  
  <p>What can I do to detect an error, trigger this "toast" without having to press a button? Thank you</p>