• Hi first time using wordpress as CMS as opposed to static html/css sites and 3rd party cms.

    Simple question hopefully with simple fix.

    I’ve got a popup “newsletter signup form” coded into my header. here’s the code:

    <form id="quickform" name="title" action="newsletter.php" method="GET" >
    Enter Email Address <br/><input id="box1" type="text" name="user" />
    <input type="submit" value="Submit" />
    </form>

    problem is no matter what config of the “action” field I’ve tried I always get a 404 search result. I’m assuming its a path problem to the newsletter.php file stored within my theme folder.

    Any help on what the path to the file should be would be really helpful.

    thanks in advance.

    Greg

Viewing 2 replies - 1 through 2 (of 2 total)
  • Do you need to construct a full path (i.e. full URL) to the action page? WP doesn’t really know where to start a relative path from.

    HTH

    PAE

    Thread Starter sullysmainman

    (@sullysmainman)

    Hi, thank for your reply.

    yes, Full path to the theme folder / url where the action php file is.

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘form action’ is closed to new replies.