[resolved] Adding a form to a page (5 posts)

  1. Ameisenman
    Posted 4 years ago #

    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!

  2. David Gwyer
    Posted 4 years ago #

    I would just use a Plugin for a contact form. There are some great free Plugins in the repository. :)

  3. Ameisenman
    Posted 4 years ago #

    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...

  4. Ameisenman
    Posted 4 years ago #

    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!

  5. annasue
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.