Greetings. I am attempting to implement four forms on a single page, but each time any of the forms is submitted, the form is sent four times (once for each form). How can I make it where only the desired form is submitted?
I am using php includes to use the form in the html:
[B]<?php include (‘_inc/contact-form1.php’); ?>
…
[B]<?php include (‘_inc/contact-form2.php’); ?>
…
[B]<?php include (‘_inc/contact-form3.php’); ?>
…
[B]<?php include (‘_inc/contact-form4.php’); ?>
Each form has a separate email address set up as the recipient, but each time any of the forms is submitted, it is sent to all four recipients. I assume this has to do with they way I am submitting the forms.
Here is my opening form line:
[B]<form id=”contact-form1″ action=”<?php echo $_SERVER[“PHP_SELF”]?>” method=”post”>
Any help would be appreciated. Also let me know what more info would be needed to answer this. I know I haven’t supplied much because I am hoping it is an easy answer.