nhayder
139
6
Laravel

sessioned flash is displayed on all forms on same page

Posted 1 month ago by nhayder

i have a page with 2 exact forms on same page but they have different css design, unfortunately i'm not being able to differentiate them from each other that resulted to get same validation on the form.

Example when a user fill up a form the laravel is requesting the user to fillup the other page.

<form action="{{route('account')}}" method="POST" enctype="multipart/form-data">

    // email +password

</form>

<form action="{{route('account')}}" method="POST" enctype="multipart/form-data">

    // email +password

</form>

In addition to that, when form data is store the session flash data is also displayed on both form ???

Session::flash('loggedInSuccessMsg');

Any solution for this issue?

Please sign in or create an account to participate in this conversation.