lundi 29 août 2016

Append form action with input variable

I have a form whose action is

<form action="/food/vegetable" method="POST" >

My controller method takes vegetable name as parameter

I would like to append the input vegetable name to the action. for example

<form action="/food/vegetable/{vegetableName}" method="POST" >

Is it possible to do this ? or is there a better way ? Please guide.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2bZk95X
via IFTTT

Aucun commentaire:

Enregistrer un commentaire