php - How do I include a form in a form and still control the included form? -
I am currently creating a webpage where the user can submit an order and can add many items to the order . At the moment I have an order form in which there is a field in which the shipping address and all are needed. Then I included the item form and closed the form. I can not control the included form now.
Here's the form:
@foreach ($ errors-> all () as the $ error) & lt; P Class = "'error" & gt; {{$ Error}} & lt; / P & gt; @earnachch {{form :: open ()}} & Lt; Input type = "text" name = "shippingaddress" placeholder = "shipping address" /> & Lt; Input type = "text" name = "project_id" placeholder = "project id" /> & Lt; Input type = "text" name = "user_id" placeholder = "user id" /> Include @ ('partial / item') & lt; Input type = "submit" value = "send request" /> {{Form :: Closed ()}
You can not form not nested Can be done
Comments
Post a Comment