Search code examples
laravellaravel-5laravel-form

is it possible to call different method of controller using single form?


I Have one form in laravel with table, table has some value of user such asenter image description here

above table i have buttons for selected check box such as delete, copy details, etc. so i need to call different methods of control.


Solution

  • Just use AJAX and a Resource Controller.

    You can then use REST verbs for each action.

    https://laravel.com/docs/5.4/controllers#resource-controllers