Back to myContactForm.com - Easy email form creation and processing for your web site
myContactForm.com - Help Forum Forum Index myContactForm.com - Help Forum
Have a question that you need answered about myContactForm.com? Post it on this message board but first search this forum and read out FAQ to ensure it has not already been answered. This is not a board to post links to your site! SPAM will be deleted!
 
   Search MessagesSearch Messages
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

a form that has worked for years just stopped

 
Post new topic   Reply to topic    myContactForm.com - Help Forum Forum Index -> Errors When Submitting Forms
View previous topic :: View next topic  
Author Message
mycontac
Site Admin


Joined: 31 Dec 2003
Posts: 2860

PostPosted: Thu May 23, 2013 2:59 am    Post subject: Reply Reply with quote

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&amp;cPath=6&amp;products_id=10&amp;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
Back to top
View user's profile
mycontac
Site Admin


Joined: 31 Dec 2003
Posts: 2860

PostPosted: Fri May 24, 2013 3:25 am    Post subject: Re: I understand the principle, but ... Reply with quote

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
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    myContactForm.com - Help Forum Forum Index -> Errors When Submitting Forms All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.11 © 2001, 2002 phpBB Group