Hello

When I create a form it's create a node like node/42.
It well displays on the checkout page but it is also available on the page node/42.

How can I do to prevent user to go directly on this page?
- Redirect on htaccess?

Thanks

Comments

arski’s picture

Title: prevent access to the form » Prevent access to the form page
Version: 6.x-3.9 » 7.x-3.x-dev
Component: Documentation » Code
Category: support » feature

you could do it through hook_init or hook_form_alter.. I know thats not ideal, but this module doesnt offer a better alternative. then again, neither does Webform itself when e.g. you set the webform to work as a block.. will think about adding a setting..

arski’s picture

Project: Ubercart Webform Checkout Pane » Webform

Hey guys, I was wondering if you could consider this feature request, or if you already have a best-practice solution in mind for this?

I know the request makes most sense when the webform is used as a checkout pane and then its useful to hide the main webform page, but when I started adding a configuration setting in ucwp, I figured that this is a very general setting that others might want to use as well somehow (e.g. when integrating the form in a block or similar and filling in some fields automatically, which wouldnt get filled on the webform's page itself).

Would be interested to hear what you think.

Cheers

danchadwick’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

At this point, 7.x-3.x is receiving critical bug fixes only. Closing for lack of activity too.