• I am using a form for gathering mail addresses for an email newsletter. To put it proudly on the home page, I would like it to function in a widget, yet still forward to another page for confirmation and send a custom email. However, that does not seem to work. It works in the widget if I leave it there and just publish the confirmation message in there, but not when I want it to forward to a page and send a custom mail.

    Any thoughts?

    http://wordpress.org/extend/plugins/wordpress-form-manager/

Viewing 15 replies - 1 through 15 (of 16 total)
  • I’m having this strange behaviour with the same plugin: though I haven’t enabled redirection, it redirects to other page after submit.

    This happends when I put the form in a homepage sidebar widget. In an inner page it works great.

    Plugin Author hoffcamp

    (@hoffcamp)

    How are you getting the form into a widget?

    [form newsletter] into a text widget.

    Plugin Author hoffcamp

    (@hoffcamp)

    You must have a plugin, or maybe a feature of your theme, that processes shortcodes in text widgets.

    You might try this plugin, its a dedicated forms widget for form manager. I didn’t write it, but it seems to work fine.

    Just for reference, my guess is what is happening is not a redirect. The form ‘action’ is probably set to the wrong (not the current) page. This is determined by a wordpress function, get_permalink(), which is supposed to work outside the loop. The problem has to do with how the text widget shortcoding is happening. If you figure out what plugin / theme is doing this, I’ll see if I can figure out a workaround.

    Thanks for your suggestion but the problem remains. Hitting submit just redirects to the same page as before. I guess it must be plugin incompatibility or something.

    I’ll have to start from there.

    It’s a pitty since I really like your form plugin a lot.

    Plugin Author hoffcamp

    (@hoffcamp)

    FYI shortcodes do not normally work in text widgets. Try this in a vanilla install of WP, you will see what I mean. There is either a plugin you are using, or a feature of your theme, that allows you to put shortcodes in text widgets and have them processed. If you could track that down I might be able to help further.

    Oh, I get it. I’ll try that and get back to you with feedback. Thanks.

    Though, I’m thinking, even with the plugin/widget you mentioned before, FM behaves the same. How do you explain that?

    Plugin Author hoffcamp

    (@hoffcamp)

    If that is the case then I would look at the theme, but anything that processes widgets might affect it too. FM grabs the current page by using get_permalink().

    If you post a link to the broken form, or email it to me (campbell AT campbellhoffman dot com) I’ll take a look.

    Thanks. I made a tester user account for you, since the site is still under construction.

    URL = http://appacdm-lisboa.pt/
    [Login details removed. Never post login details on a public forum!]

    The form is also on this page: http://appacdm-lisboa.pt/?page_id=32

    And a different form is on this page: http://appacdm-lisboa.pt/?page_id=943 (note that it’s also on a sidebar widget here, and it works).

    Let me know what you find. Thanks again.

    Plugin Author hoffcamp

    (@hoffcamp)

    I logged in fine, and the forms look like they are generating correctly. Could you give me a link to the page that wasn’t working?

    The only one not working is in the homepage sidebar. Did it work for you? I’ve received 2 form responses from you, but from different forms. Did you use the homepage form?

    Plugin Author hoffcamp

    (@hoffcamp)

    I know what the issue is. I’ll have an update ASAP, probably today.

    Thanks!

    Plugin Author hoffcamp

    (@hoffcamp)

    I just posted an update 1.6.29 that might fix your problem.

    Sorry not giving you feedback sooner. I’ve just tried it today and is still not working… full.

    Using the shortcode-in-text-widget method is the same as before: redirects to specific (not defined) page after submit.

    Using the widget you mentioned makes it work, partially. Stays in same page after input but gives no feedback to user.

    I’ve to try it in a basic WP install and also with alternative browsers before I can give further feedback.

Viewing 15 replies - 1 through 15 (of 16 total)

The topic ‘[Plugin: WordPress Form Manager] Using a form in a sidebar widget’ is closed to new replies.