Two Form error on an Asp.net page

Asked

Viewed 27 times

0

I have a problem with the Asp.net form. My master page has a form, and the daughter page also has a form that passes some javascript actions to add a product to the cart. Only when I click any button that is with this master page, it automatically adds a product to the cart.

My teacher said there can’t be form inside form.

I’d like to know if anyone’s been through this or if they have a solution to it. Thank you

  • Hello, it doesn’t really make sense to have a form inside form. You could include the code for better analysis?

  • Put the code of your page, now you can not have a form inside the other, but, can have as many Forms inside a page, not being inside of the other normal.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.