Multistep form - Remove submit actions / redirection

By: Petros Pollakis | Asked: 08/04/2024
ForumsCategory: Code HelpMultistep form - Remove submit actions / redirection
Petros Pollakis asked 2 months ago
Hi! Does anybody know how can I submit a multistep form without having the actions after submitting ? 

So when you submit a multistep form, it actually removes all the content from the DOM and show the success message.
I DON'T want to change the success message (I know how to do that ), I want to block the functionality of removing all the content from the page because I have other functionalities (membepress form) that I want to keep.

So I just want the form to get submit and do nothing in the front end.

Any ideas ? I have spend about 40 hours working on that, nothing yet. 

Formidable supports hasn't give me any proper solution yet so if you know something would be good to share with everybody else. 

Thanks! 
1 Answers
Victor Font answered 2 months ago
Instead of using a success message, have you tried redirecting the submit to a form edit page that includes a custom success message and displays the form loaded with its data?
Petros Pollakis replied 2 months ago

Hey thanks for the answer. Not sure what you mean by "form edit page".
But redirection to another page won't help since the user has already filled out the memberpress form in that last step of formidable form.
The goals is to submit both two forms at the same time (kind of).

Not sure if I'm explain it properly.

Victor Font replied 2 months ago

Why are you adding a memberpress form to a formidable form? I'm missing something here.

Petros Pollakis replied 2 months ago

Yes, maybe I didn't explained it well. So I'm doing this cause before somebody singup for a subscription I want him to answer few questions and go through a multi step form. That's basically the reason.

And I want to submit his answers only if he will hit the button to buy the subscription plan, that's why it must happen the same time to submit both forms.

Victor Font replied 2 months ago

There may be a way for you to use Formidable only and create the memberpress record programmatically using Formidable hooks.

Petros Pollakis replied 2 months ago

Could be possible but I need the memberpress as well in order for the user to see all the infos and signup for his subscription

Victor Font replied 2 months ago

Once you create memberpress records through Formidable hooks, it will be identical to using the memberpress form. You will have all the data you need to display to your users. Look into whether memberpress has hooks you can use to make the process easy.

Victor Font replied 2 months ago

Here's a link to memberpress hooks documentation: https://memberpress.com/docs/action-hooks-in-memberpress/

Petros Pollakis replied 2 months ago

Thank you, I will check it out!

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right