The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group

Slack Signup
Newsletter Optin
Help Desk

Only show page contents after formidable form is submitted

Labels

This Discussion is public

Notifications

Hello everyone,

I've created multiple quizzes using formidable forms.  I also have multiple answer key pages.  What I'm trying to do is only show the content in the answer key pages if the quiz that goes with that page has been submitted.  Anyone know a way to achieve this?  I use a lot of php if statements on this site, but not sure if formidable would support that sort of solution.

 

Thank you!

Scott

You can redirect to a view on submission of the form.

But if a user (after submitting that form) shares the url they are redirected to with someone else will they have access to the page/answers?  That is what I'm trying to prevent.

 

Thank you

If you want to protect content so only a specific user can see it, you would have to use some kind of membership or content protection plugin. This requires users to have a login account and to be logged in when they take the quiz. Then, you can grant permission through hooks to view the answers and redirect them to the answers through Formidable.

This is not something you can do with Formidable alone and it may require advanced programming skills to construct the code for granting permissions to the view.

Hi Scott and Victor,
There is one way to achieve it natively.

1. Set the answer key page's visibility to private or password protected.
2. In the form "On Submit" settings, select "Show page content" and then select the answer key page.

This will only show the content of answer key page after submitting the form and it will not expose the URL of the answer key page. Even if for some reason the user has the URL, they can't still see the content due to above visibility settings.

https://formidableforms.com/knowledgebase/general-form-settings/#kb-show-page-content

 

Discussion closed.