• Resolved morayf

    (@morayf)


    my simple contact form has 2 behaviors. I want the form to advise the submitter that everything is good, then when this box closes the user should be redirected back to the home page. I have setup the second behavior to redirect is the email address is not blank, but it still doesnt seem to trigger. If the first behavior is redirect, then there is no problem.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Jair – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @morayf,

    Please share an export of the form with us, so that we can check further.

    You can find more info on how to export the form here : https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export

    After exporting, please share the code using a service such as https://pastebin.com which is free to use.

    Please always make sure to use such service to share the code and don’t post the code here directly as it will most likely be unusable.

    Kind regards,
    Zafer

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @morayf ,

    We haven’t heard from you for a while now, so it looks like you don’t have any more questions for us.

    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

    Thread Starter morayf

    (@morayf)

    Finally got a chance to get back to this problem. I have tried to recreate forms on different sites and I am still getting the same problem, that the second behavior will not trigger. The redirect work if it is the first behavior, but then the form doesnt let the user know it all went well. (have now exported the latest form)

    https://pastebin.com/qzGcULxP

    • This reply was modified 3 years, 4 months ago by morayf.
    Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @morayf

    I hope you’re well today!

    I checked the form and it seems there was a bit of misunderstanding on our end. I apologize for this.

    The thing is that while there can be multiple behaviors like that set, they are not “chained” and don’t have/cannot be set to have behavior based on each other.

    I understand what you are trying to achieve but it’s not supported currently. if you do add multiple behaviors like this – you can set conditions for them to determine when which one of those should be used, based on form data.

    But it will not work in a “chained” way like: do first, then do second after user closed first and so on.

    A workaround for this is to:

    – remove the “inline message” behavior or set condition for it so it would ONLY be showed if redirect is not supposed to happen; note: if you go for setting condition you also need to set “opposite” condition for the “redirect” behavior;

    – edit “redirect” behavior and

    a) switch to “Inline message” and define message to show there (may be same or different as above)
    b) switch back to “Redirect” tab and set it to “Redirect in a new tab and and show thank you message on form page”

    Redirect will be immediate and in a new tab (it will not wait until user closes the message) but the message will be visible and showing up on form page.

    Kind regards
    Adam

    Thread Starter morayf

    (@morayf)

    Many thanks for clarifying this. Maybe some future release would have this possibility. It could be another item in the inline message behavior to add a redirection after the message is displayed.

    Thanks again for the quick reply.

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @morayf

    I hope you are doing well.

    We keep improving the plugin and adding many features there, you can subscribe to our roadmap https://wpmudev.com/roadmap/ to receive notifications.

    Best Regards
    Patrick Freitas

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @morayf,

    Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to re-open the thread if you need further assistance.

    Best Regards
    Nithin

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

The topic ‘second form behaviour not working’ is closed to new replies.