1 year ago

Laravel - Route based on form submit?

Posted 1 year ago by uccdev

I have one HTML form, with many different submit buttons.

Each submit button has a value. For instance, the value of the first button may be simply "submit", while the value of the next might be "12".

Based on which value the submit button is given, I want my web.php route file to direct it to a different function.

However, I don't know how. Any advice? I would dearly appreciate any help here

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