Form contact does not work

Latest Reply from Didier HAMELIN at 2013-11-18 09:07:23 Solution
Hello,
The form contact does not work on my site : http://www.alpes-leman.fr/contact/
When I write a message, I do not receive the e.mail
I tried with several different e.mail but it does not work.
Could you help me PLEASE?
Thank

Regards
Didier
Hi!
Please, try to replace the code in the file feedback.php:
</div>
</div>
</div>
<?php
get_footer();
?>

with:
</div>
</div>
</div>
<script>
jQuery('.feedback input').each(function(){
jQuery(this).attr('name','<?php echo $_SESSION['commentinput']; ?>['+jQuery(this).attr('name')+']');
});
jQuery('.feedback textarea').each(function(){
jQuery(this).attr('name','<?php echo $_SESSION['commentinput']; ?>['+jQuery(this).attr('name')+']');
});
</script>
<?php
get_footer();
?>
Hello Dave,
Thank you for your answer but it does not work.
I put the new code and I obtain on my page:
FIRST NAME is required Field
Field E.MAIL is required
Field E.MAIL is not valid
MESSAGE is required Field
But, I had well on quite filled correctly.

My problem is that the form does not work. A user tacke the formalaire correctly and when he clicks to send, I never receive the e.mail
Dave, I put back the old code and there any remarche correctly.
It is OK
Thank you

Leave a reply

Add codeAdd image