non .net form issue within a .net form tag


this may be a bad question...
but I am adding a shopping cart to my asp.net website and it calls for the following code for the 'buy now' buttons:
<form method="POST" action=http://www.cart.net/cart.aspx/CartName>
<input type="hidden" name="ID" value="IDName">
<input type="hidden" name="Describe" value="IDName Description">
<input type="hidden" name="Price" value="100.00">
<input type="hidden" name="QtyMax" value="1">
<input type="hidden" name="Multi" value="N">
<input type="hidden" name="ESD" value="Y">
<br>
<input type="submit" name="Submit" value="Add To Cart">
</form>
The submit button and information from the form pulls up correctly from an .aspx page...but nothing happens when the 'Add to Cart' button is pressed. It works correctly when it is in a .html page. Why is it not working in .aspx pages?  Does it have something to do with the fact that the cart form resides within another .net form (<form id=form1 runat=server>)?
0
twenty7
2/13/2008 7:17:53 PM
📁 asp.net.web-forms
📃 93655 articles.
⭐ 6 followers.

💬 1 Replies
👁️‍🗨️ 3054 Views



Please take a look into this.  Nested forms are not valid html.
http://www.zen-turkey.com/blog/default.aspx?id=6&t=Adding-a-Paypal-button-to-an-ASP-NET-Pa
 
0
a
2/13/2008 8:53:49 PM
Reply: