• Hi all,

    I have a php form in a page template with the following action:
    <form action=”result.php” method=”post”>

    This works perfectly, but I want to use a WordPress page for this action so I can use custom fields and a clean url like:
    mysite.com/category/formresult/

    But if I make a page template with the result page and try for example:
    <form action=”/category/formresult/” method=”post”>

    Nothing happens! Is it possible to send form data to a page template?

    Thanks so much!!

    Kind regards,
    Mark

Viewing 3 replies - 1 through 3 (of 3 total)
  • No – it’s not that simple. You would, effectively, need to create your own form plugin. Have you had a look to see if any of the free form plugins might be of use?

    Thread Starter vistavision

    (@vistavision)

    Hi Esmi,

    Thanks for your response. No, I really need my own forms which can’t be accomplished with any standard plugin. Isn’t there a way to manage this? I really need this!

    Thanks so much!!

    [ No bumping please. ]

    Thread Starter vistavision

    (@vistavision)

    I found this url: Stackoverflow send variable

    But when I try <form action=”/form-result/” method=”post”> in the form I don’t see anything?

    Please, I really need this!

    Thanks so much!

    Kind regards,
    Mark

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress Form Post to Page Template’ is closed to new replies.