Hi @bobkata
Thank you for response!
Is this the code that you’ve added (the “Custom form redirect…”)?
https://gist.github.com/wpmudev-sls/5af95872fe195ce45e50387ebfe03e91
If yes then it may work with login/registration forms but it wasn’t really created for this kind of form – and it’s a very “specific” kind of form that also hooks to WordPress core in a bit more ways than a “regular” form. So yes, it is possible that it is causing the issue.
But more importantly, it’s not needed anymore. Forminator now already includes “conditons” for submission behavior. If you look into “After submission” setting of your form, you’ll notice that you can:
– add multiple behaviors at once
– they can be “mixed”, including adding e.g. multiple different redirects
– and each “behavior” can be triggered “conditionally” based on value of form fields.
So it’s pretty much the same as that custom code does but “more and better” and all within plugin interface.
Having said that, yes – I’d try removing that custom form redirect code first. Then clear all caches and check if the issue with missing message is gone. If it is, you can set conditional redirects right in the plugin in “Behavior” section of the form settings, in “After submission” option.
Best regards,
Adam