contact form action php

Status
Not open for further replies.

Manganix

Member
Hi,


could you please check what is going wrong?

When I click on the send button in the contact section, it jumps to the php page instead of sending the mail and echoing the success message:


Thanks for your help.

http://gamanga.com/
 

chrishirst

Well-Known Member
Staff member
Because you use one of these crappy, annoying "one page AJAX 'ever scroll' " things, with a form that has NO action defined in it so does NOT intrinsically 'know' what to do when it becomes 'self referencing' (submitting to the URL it is served by).
 

ronaldroe

Super Moderator
Staff member
You've added your action URL to the name attribute. Change name to action and see if that doesn't fix it.
 

Manganix

Member
hey ronaldroe,


thanks for the suggestion.
I actually started with "action", but when that didn't work, I tried it with "name". No game so far...

When pushed "send" button, the index page jumps to the .php file, where I need to refill the captcha ... after this it works great and the "thank you" message appears.
 

Manganix

Member
Because you use one of these crappy, annoying "one page AJAX 'ever scroll' " things, with a form that has NO action defined in it so does NOT intrinsically 'know' what to do when it becomes 'self referencing' (submitting to the URL it is served by).


thanks for your reply, but I can't make anything out of this. I can read it (for starters ;-) ) but can't take it / link it to the problem and its solution... Must be my very limited coding 'knowledge'.
 
Status
Not open for further replies.
Top