drupal 6.5
webform 6.x.2.2

I have created a contact form with webform and set the submissions to 'unlimited' but after sending a test submission I get the "You have already submitted this form. View your previous submissions." warning at the top - How do I disable that?

I can still submit additional emails but that message is not cool.

Comments

quicksketch’s picture

Visit "admin/user/permissions" and disable the options for "view own webform submissions" for any roles you would like to disable that feature.

briskday’s picture

Thanks quicksketch! I guess as admin I will always see that message until I delete my test submissions.

quicksketch’s picture

Yep, this behavior previously didn't apply to user #1, but for consistency with the way user #1 works in other scenarios, it was changed to make user #1 will always have this permission. You can disable the message entirely by overriding theme_webform_view_messages().

Chris Charlton’s picture

Status: Active » Fixed

Seems this was resolved/fixed. I'll mark as such.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

Casselberrian’s picture

Status: Closed (fixed) » Active

I am a Drupal newbie. I am trying to remove the line "You have already submitted this form. View your previous submissions" from my webform. I went into "admin/user/permissions" but I do not see a "View Own Webform Submission" item. I am using Drupal 6.0. Can anyone help? Here are the choices I have:

Permissions: Webform Module - None of these are currently checked.

access own webform submissions
access webform results
clear webform results
create webforms
edit own webform submissions
edit webform submissions
edit webforms
use PHP for additional processing

Would appreciate any advice. Thanks

quicksketch’s picture

"access own webform submissions" is the permission that let's users have access to their own submissions (and shows that message). If you're logged in as the #1 user, you have ALL the permissions on the entire site, even ones that aren't checked.

Casselberrian’s picture

Thank you.

quicksketch’s picture

Status: Active » Fixed

Great, I think this question is answered.

Status: Fixed » Closed (fixed)

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

keesje’s picture

D6 snippet to turn this message completely off:

Put this in your template.php

//Webform "You have already submitted this form." message off
function THEMENAME_webform_view_messages($node, $teaser, $page, $submission_count, $limit_exceeded, $allowed_roles) {
  theme_webform_view_messages($node, $teaser, $page, 0, $limit_exceeded, $allowed_roles);
}
davpas’s picture

Re: #11

I believe this snippet will also disable the message that displays if you exceed the submission limit on the form.

dharam1987’s picture

Title: You have already submitted this form. » For Drupal 7 - You have already submitted this form.

Though the discussion is dead here, I would like to help others who want to do the same in Drupal 7.

This option is available under, Form Settings (tab) for webform

ADVANCED SETTINGS
-Show the notification about previous submissions. (un-check this)

katharine_gates’s picture

Issue summary: View changes

This #13 did not work for me. I would like students to be able to submit an evaluation form for each class they take.

I have created the evaluation form as a webform exposed as a block one each classroom page.

The evaluation form is the same, except that I do use some tokens to prefill with the user's name and email and with the classroom name. (perhaps the "as a block" makes the difference?)

Once they fill out the form on one classroom page, they are redirected (using Rules) to a list of their webform submissions so far, plus a list of all of the other classrooms they can submit their evaluation to.
So far so good! Views rules!

Here is where the trouble happens.
They click on another classroom to go to to submit the form for that classroom.

They get the "You have already submitted" message and the webform block does not show up...until they reload the page. Once they RELOAD they see the webform and can fill it out again. Ideas?

katharine_gates’s picture

Aha! figured it out. Had to disable confirmation message and set redirect in Webform (as well as Rules)

Hope this helps someone else.