New Zenner
- Join Date:
- Jul 2007
- Posts:
- 52
- Plugin Contributions:
- 0
Post #1 by breadfan
Hi,
I have created a new form on the product_info page just under the product image. The jQuery to slideToggle the div containing the form works fine just as everything else, but...
The form uses the post method with the action being the current url (thus the form submits to itself, so to speak). The problem is that instead of displaying the current page again, it redirects to the shoping cart.
It seems that no matter what I do with the 'action' parameter of the form, the submit button always link to a page with 'action=add_product' parameter in the url.
There is obviously some "interference" with my form and the 'add product to cart' button. I just can't figure it out.
Could anybody please help?
Thanks a lot in advance.
//edit: Here is a link to an example page. The code in question is commented out. Search for 'CUSTOMER FEEDBACK FORM BY BREADFAN' in the code to find it quickly.