Posted by TimAlsop on August 5, 2008 at 12:22pm
10 followers
| Project: | Webform |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I created a webform and tested it a few times, then I changed the webform description, saved the change and now whenever I use the form I get the following message:
You may not submit another entry at this time.What causes this error, and how can I fix it so that I can use my form again ?
I am using drupal 6.3 and using latest webform code.
Comments
#1
I decided to delete the webform and create a new webform with exact same content as the old one and the new form is working ok at moment. I am still worried though, in case the form stops working again in future ...
I am using a CAPTCHA on the form, so wondered if this might cause the message "You may not submit another entry at this time." ? If not, what causes this message to appear ?
#2
In "Webform advanced settings" make sure that "Limit the number of submissions a user may send within a specified time period" is setup with no restrictions
#3
I checked this setting with the new webform and it is set to "unlimited". I have never changes this, and didn't change it with the previous form that was broken. I am therefore wondering if this is the only reason why the message I got would be displayed, or are there other situations where this might be seen ?
#4
As far as you don't have that problem again, this might be caused by CAPTCHA module. I had some other problems with CAPTCHA module before so... you will see shortly :) Just to be safe, you can do a backup everyday of database with your submissions.
Regards
#5
Is there another open issue where the issues with captcha module that you mentioned are described ? If I get the problem again, do you want me to update this issue ?
BTW. Is there a way to configure this issue tracking system so that I get sent an email when an issue is updated ?
#6
I got this problem when more than one box was checked for users allowed to submit the form. Since only one user at a time can work on any given form, it starts complaining.
I went to: "webform access control", and checked only "authenticated user" - solved it for me :)
#7
The problem is actually more subtle. Steps to repeat:
1. Create a new webform, fill in any required fields, note that under 'Webform Advanced Settings', that the submission limit is set to 'Unlimited'
2. Hit 'Preview' To preview the form.
3. Check the submission limits.
You will see that the "Limit to" option is now selected instead of "Unlimited", that with the defaults of an empty "Limit to" text box, and "ever" as the frequency, will result in the above message, as the form will be set to "Limit to 0 submissions ever".
I'm currently looking into a fix. Not sure what the cause is just yet, but I am able to easily repeat this on webform 6.x-2.3, and 6.x-2.1.1. I am assuming the problem still exists in 6.x-2.x-dev.
#8
This patch seems to resolve the issue for me.
I'm not sure it 'feels' like the best solution, but it is the simplest way from what I can see.
The problem is that submit_limit is actually the text_field, which on preview, ends up setting submit_limit to an empty string.
I can not see this patch causing any other issues, but it does seem to remedy the problem described here.
#9
Comments help. :)
#10
Better title.
#11
Thanks again cdale. Great patches, sorry for the delay in getting to them. I couldn't reproduce this in Drupal 5, which is good since it doesn't have NODE_BUILD_MODE anyway. Committed to the D6 branch.
#12
Automatically closed -- issue fixed for two weeks with no activity.
#13
Submit limit checks user's IP address for limitation, if specified. Does anyone know if there is a way to add a different criteria (for example email field from the form), without having to mess with the module code?
#14
wow... thanks for this thread... helpfull for me..
thanks
---
Cakka
www.cakka.web.id
#15
the problem still till after patch there is no relation to permission or CAPTURE
to fix it
edit the web form
go to Webform advanced settings
check unlimited
save