Is it possible to redirect a user to another page if the form has been already completed?

By: Enrico Frascati | Asked: 06/16/2022
ForumsCategory: How-toIs it possible to redirect a user to another page if the form has been already completed?
Enrico Frascati asked 3 years ago

Hello,
My client asked me to avoid duplicated submission sending the user who has already completed the form to a different page, where there's a view with the data he already entered.
So when he tries to open the form page, he's automatically redirected to another page "You previous submission", where he will be able to click on a "edit" button, if the wants to correct something, but not to create a new submission.  

I'm not finding a way to do it, but I think that Formidable "conditionals" are pretty powerful in their implementation and probably there's a trick hidden somewhere.
Thanks for your help!

1 Answers
Victor Font answered 3 years ago
In order to do what you want, the user must have a WordPress account and be logged in to fill out the form. You have to to capture the WordPress user id on the form by adding the user_id field to it on the build screen. On the Form Permissions settings page, check the "Limit number of entries" field and set the value to 1. Once a logged-in user opens the form page again, they will see their data to edit it. You can also create a view and filter it by user_id equals [current_user]. https://formidableforms.com/knowledgebase/create-a-view/

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