• I hope I’m completely missing something here, but I’ve searched through the forums and google and still haven’t found a solution. I’m attempting to migrate an existing (very) simple 2-page website into WordPress. The original site had an email sign-up form that had an action attribute pointing to a thanks page. I’d like to replicate this functionality in WordPress, but for the life of me, I can’t figure out how to get the action attribute to function correctly.

    I feel like I missed something somewhere because this is such basic web functionality that I can’t believe it’s not supported in WordPress. I’ve tried the Contact 7 email form, but it relies on an AJAX solution, which I don’t really want to use.

    I’ve created my thanks page in the WordPress admin but when I try to use the url, it gives me an ‘Oops, page not found’ message. The url in the address bar is correct because if I refresh the page, my thanks page renders.

    Any help is appreciated.
    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Try looking for an contact or email subscription form plugin.

    Thread Starter brian flanagan

    (@brian-flanagan)

    Thanks for the reply. I have tried a few plugins, but all of them seem to follow the same pattern of posting back to the current page or using an AJax solution.

    I’m curious that if there is a plugin out there that does offer this functionality, do you know which ones? Also, why would a plugin have functionality that couldn’t be coded by hand in the native programming language?

    Just out of curiosity, what’s the problem with Ajax? It’s usually used to print new content to the page without forcing a page refresh or carrying out a page redirect. That’s not something that PHP can do.

    Thread Starter brian flanagan

    (@brian-flanagan)

    While I’m very comfortable using Ajax, it’s not a complete solution. There are still some folks out there who disable JavaScript, so I’d like to support graceful degradation at the very least.

    I guess the point of frustration comes from the fact that this is really, very basic web technology and I’m a bit disappointed that WordPress doesn’t seem to support web functionality that’s been around for literally decades now.

    The Secure Accessible Contact Form plugin did degrade gracefully but it’s quite old and I’m not sure how well it will (or won’t) work with WP 3.0. Mike Challis’s Fast Secure Contact form plugin comes from the same roots but I’ve not tested it without js.

    Thread Starter brian flanagan

    (@brian-flanagan)

    Thanks for the help. It looks like Mike Challis’ from handles the redirect, but you were right – it’s using JS to do it. So, while it does support a redirect, it’s not really using the action attribute for the form submission.

    (The Secure Accessible Contact Form documentation was out of date and it didn’t seem to have an admin. I’ll have to dig through the code to see if it functions without JavaScript.)

    So, I’m still looking… ??

    I’ll have to dig through the code to see if it functions without JavaScript

    I know one of the authors (Mike Cherim) and use his non-WP version of that plugin on a client’s static site. It degrades very nicely without js enabled. If I have any concerns, it’s whether the plugin version can cope with the core changes post-WP 2.7.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Custom form with action setting’ is closed to new replies.