Posted by briskday on October 16, 2008 at 1:12am
Jump to:
| Project: | Webform |
| Version: | 6.x-2.2 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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
#1
Visit "admin/user/permissions" and disable the options for "view own webform submissions" for any roles you would like to disable that feature.
#2
Thanks quicksketch! I guess as admin I will always see that message until I delete my test submissions.
#3
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().
#4
Seems this was resolved/fixed. I'll mark as such.
#5
Automatically closed -- issue fixed for two weeks with no activity.
#6
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
#7
"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.
#8
Thank you.
#9
Great, I think this question is answered.
#10
Automatically closed -- issue fixed for 2 weeks with no activity.
#11
D6 snippet to turn this message completely off:
Put this in your template.php
//Webform "You have already submitted this form." message offfunction 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);
}
#12
Re: #11
I believe this snippet will also disable the message that displays if you exceed the submission limit on the form.