p0t4t0
1 year ago
443
14
Laravel

How do I handle multiple submit buttons in a single form with Laravel?

Posted 1 year ago by p0t4t0

I have a form with 3 buttons, one for saving the form data into the database, one for previewing and one for advanced options which should redirect the user to a view with a WYSIWYG editor. I have an idea on how to do this with plain PHP but no clue as to how to handle this in my controller with Laravel.

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