In laravel when checking the input to understand what form are the errors?

Hi,
I have a method that checks the input of several similar forms, which are located in several places on one page.
I have a landing page with multiple forms for ordering call(up, down, pop-up)
When the input error I want to display the error message in the form where the error was committed. Still need to fill the fields of this form to the previous values. And it will be great prosquality of the page to the desired shape.
What is the best way to organize without using ajax?
Thank you!
June 5th 19 at 21:50
2 answers
June 5th 19 at 21:52
Solution
Add each form a hidden field form_name through old('form_name') in the template check that we are talking about the current.
June 5th 19 at 21:54
Make a hidden field with form id to each form.
But in something you are not properly organized: strange question, strange problem.

Find more questions by tags Laravel