Support » Plugins » Trying to get custom form working

  • Resolved MeltingDog


    Hi guys,

    Having a bit of an issue.

    I have a custom form that I created using php. I have used the php-to-page plugin so that the form, whilst on it own file, appears in a WP page. Likewise, the thankyou page is treated in the same way.

    What I can’t get working is the post action. ie this line:

    <form action=”‎” method=”post”>

    Copying that URL into a browser brings up the correct page, but trying to access it via a form submit button brings up the 404.

    Could anyone help me out here? Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • anyone?

    Yeah…I solved it myself:

    When I left the form fields blank it worked. I then tested all the fields and found that the Name field was causing the error. I do not know why but perhaps $name is a reserved variable. I changed it to $customer and it works fine!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Trying to get custom form working’ is closed to new replies.