mycontac Site Admin
Joined: 31 Dec 2003 Posts: 2860
|
Posted: Thu May 23, 2013 2:59 am Post subject: Reply |
|
|
Good Day,
The issue is that the myContactForm.com form is being nested within an already open form tag on your site. This causes the myContactForm.com field data to be submitted to the URL indicated in the first form tag rather than sending it to our form processing script. If you look at line 144 of your site, you will see the following:
Code: |
<form name="cart_quantity" action="http://www.outdoorlivingtablecloths.com/oltz/index.php?main_page=product_info&cPath=6&products_id=10&action=add_product" method="post" enctype="multipart/form-data"> |
This form tag needs to be closed with a </form> before inputting the myContactForm.com code.
Nick Ladd
myContactForm.com |
|
mycontac Site Admin
Joined: 31 Dec 2003 Posts: 2860
|
Posted: Fri May 24, 2013 3:25 am Post subject: Re: I understand the principle, but ... |
|
|
jdetc wrote: |
I don't know enough (anything!) about php to know how to put the closing tag. I believe this is where the </form> tag should go, but where exactly?
<!--bof Form start-->
<?php echo zen_draw_form('cart_quantity', zen_href_link(zen_get_info_page($_GET['products_id']), zen_get_all_get_params(array('action')) . 'action=add_product'), 'post', 'enctype="multipart/form-data"'). "\n"; ?>
<!--eof Form start-->
Also, out of curiosity, is there any particular reason why this is happening now, when it's worked the way it was for quite a long time?
Thanks again for your help ... jd |
Unfortunately, I can't really advise you on the above code as I don't know the context. One possibility that could have caused this is that the cart software you use was updated, which caused this to change.
Probably the easiest fix would be to add a </form> directly above the myContactForm.com code on your site. This will close the other form, and should make the myContactForm.com code function as intended.
Nick Ladd
myContactForm.com |
|