• Hi everyone,

    I’m having trouble getting my contact form working where it calls the php for the form to work on an external page, then if it’s successful, it will bring the user to a thank you page.

    <form action="siteUrlHere/wp-content/themes/blankslate/formStuff.php" method="post" class="emailForm"></form>

    When doing a contact form this way, am I calling the url to the form php wrong? Or is there something with the form action I need to change? (I’ve tried GET and POST)

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Thread Starter kagurarap

    (@kagurarap)

    I’ve got it! With method post and the url starting from the site url and wp-content path onwards. I had a copy of the form on the thank you and error page and I guess that might’ve been confusing it so once I removed those – it appeared to work! Awesome.

Viewing 1 replies (of 1 total)
  • The topic ‘Contact form w/ action post or get not working’ is closed to new replies.