Support » Fixing WordPress » Adding a form to a page

  • Resolved Ameisenman


    I have a problem with integrating a self-coded form into a page. I usethe following declaration for my form:
    <form action="<?php the_permalink(); ?>" method="post">

    Now, as you can see, the submission should be processed on the same page. When I hit the submit button, the 404-page appears but the URL is correct.

    What goes wrong?

    Thanx for any help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • I would just use a Plugin for a contact form. There are some great free Plugins in the repository. 🙂

    Thanx for the quick reply, but I need the form to process a shopping-cart order which I did myself. All other stuff works well except the checkout-form. Isn’t there any way how to get this issue working? I tried so much, leaving the action-part empty, etc…

    Got it finally to work. The problem was within conflict of given names: I had an input field with the name “name”. Changed it into something different and it worked!

    I have a form created by a program like Constant Contact. I simply want to paste it into a file so it shows up on the right menu structure. Which file can I edit to make that happen?

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding a form to a page’ is closed to new replies.