We would like to use webform and webform_ab to test some small surveys as blocks and don't know how to do this.

We tried using a views block to display the webform_ab node.
The result for admins was a display of the whole webform_ab page in the block:/
It would be great if the block view could be configured to "view test as a regular user"

The result for users that were not admins was a redirect error, so this approach was abandoned.

The view probably needs an argument or something if it's even the right way to go.
Or maybe this could better be done as a feature in the module.

Any thoughts?

Comments

BrockBoland’s picture

I just made a note the other day to build a webform_ab_blocks when I get a chance, but it hasn't happened yet. I'm not exactly sure how to implement this, since I haven't used webform_blocks so I'm not sure how it works. If you want to take a crack at it, I always welcome patches!