Jump to content

Item Added to Cart on <form action="#">


Guest jeromas

Recommended Posts

Guest jeromas

I've written a system whereby when a user views a product through the viewProd.inc.php page, there is a link on the page which allows them to write a review of the product. All is well and good, except that when the user submits the review he/she has just written, the product being reviewed is automatically added to the shopping basket. Here is the form call method that I'm using:

Site is here (in development):

http://www.gaminggraveyard.com/classic_gaming

<form action="#" method="POST">

...some code here...

<input class=\"submit\" type=\"submit\" name=\"reviewsubmit\" value=\"Submit My Review\"></input>

</form>

I'm pretty sure that this happening due to the javascript functions included in the page, but I've nearly a complete lack of knowledge of javascript, so is there anyone out there who can maybe suggest a mod to the javascript functions or a possible workaround? Thanks in advance for the help. :rolleyes:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...