I've setup my webform with captcha for untrusted users and it looks perfect when I am logged in as admin.

When I logout and go to the webform all the fields are missing.

The page title is there but no fields or submit button.

I am not using any access control mod.

Can anyone tell me what could be wrong ?

Comments

quicksketch’s picture

If you have the Entity Cache module installed, Webform can have caching issues. Are you actually using the 3.9 version of the module? Newer versions such as the latest 3.11 version have fixed this problem. Be sure to clear your Drupal caches after updating.

vernond’s picture

Did you check access settings? Are anonymous users allowed access to the form?

rolandk’s picture

Great mod, thanks.

I'm using the Entity API mod, no Entity Cache mod installed.

My bad, I'm using Webform 3.11 - where can I download the latest & dev versions ? It's not available on Drupal.

I went to People>Permissions and set the Access own webform submissions to Yes.

That worked, thanks.

Access own webform submissions was kind of misleading. Plus the disclaimer : This permission has no effect for anonymous users.

Maybe "Access Admin Webforms" may be a better label. We just want all user types to be able to access the webform.

quicksketch’s picture

Version: 7.x-3.9 » 7.x-3.11

"Access webform submissions" isn't needed to see the form itself. :\

Does the form go away again if you disable that permission? There isn't a permission at all for seeing the form, it should always be visible as long as it's open for submissions.

rolandk’s picture

Hmmm, wow. The form goes away if I don't enable that permission !

rolandk’s picture

QS, any solution ?

quicksketch’s picture

Status: Active » Postponed (maintainer needs more info)

I don't know what to recommend. I don't see the behavior you're describing on a clean install. If you can provide instructions on how to reproduce this I can take a look, but what you're describing seems to be caused by some combination of code/configuration on your server.

webpotato’s picture

I am experiencing the same exact issue. Only User1 can see the form fields correctly. Others only see the submit button. I'm running Drupal 6.22 (using the COD installation) and Webform-6.x-3.14.

vernond’s picture

@webpotato - if your admin theme differs from your "regular user" theme, try using one of the standard Drupal themes and see if that is maybe where the problem lies.

retorque’s picture

I had this issue last night (7.x-3.13). Access all webform results was the key permission for me. If I enabled it for anonymous, anonymous users could see the form. If I disabled it, only admins could see the form.

I experimented for a while and looked through the code, but nothing jumped out at me, so I uninstalled and reinstalled the webform module and rebuilt the form, and it worked.

My guess is either I installed more than one module at a time and one of them wasn't really ready yet, or when I removed a select list field and replaced it with a text field with the same name, something was left over in the database. Hopefully I will have a chance to set up a dev site sometime this week so I can test the field replacement theory.

rdmillner’s picture

I had the same problem as #10. Drupal 7.9 and Webform 3.13, anonymous users couldn't see the form, but they could see the Mollom captcha at the bottom. Enabling "Access all Webform Results" made the form visible to anonymous users.

quicksketch’s picture

Hm, thanks @rdmillner. If you can figure out what module is causing the form to disappear (mollom?) then I can reproduce the problem and work on fixing it.

drupal@clivemcdonald.co.uk’s picture

Version: 7.x-3.11 » 6.x-3.15

Hi I am new 2 Drupal only 2 days trying to understand it.

I was using webform 6.x-3.15 on a created node and published the node and the from worked fine. both logged in and logged off.

I needed to have the webform as a block so i unpublished the node and checked the block option on the created form.
the form will only displays if logged in.

If i publish the node the webform shows in the blocked when logged off. However this creates a problem for me as the published page is not needed. I only want the form in a block.

please can you check if this is your problem as well

regards

quicksketch’s picture

Hi there. What you've described is all by design. Unpublished content doesn't show up anywhere on the site intentionally. If an editor unpublishes a piece of content, all copies of that content become inaccessible (except for administrators). You have identified a limitation of sorts, though it can be worked-around by modules that provide access control. Or you may consider circumventing all of Webform's design and just load the node directly in a block though custom PHP code. I described how to do this back before building the Webform as a block feature was added: #248157: Allow any Webform to be displayed as a block. Most users don't need that approach any more of course, but it might help in your situation.

cmsanche’s picture

Private fields are shown only to users with results access. Make sure that the fields are not marked private and they should show up.

eaposztrof’s picture

Status: Postponed (maintainer needs more info) » Fixed

was the same for me, after hours of chatting and searching, i just turned off the Submission limit on the /node/XX/webform/configure page, and voila, i see the form again :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

MCMLB’s picture

Issue summary: View changes

In my situation, I was using Taxonomy Term from which people can choose options. When logged out, a user does not see all of the options. I found out that it was because the terms were not 'Published'. So I went back to Taxonomy, chose the term and 'Publish'. That worked. Hope that helps.