I am getting this error message as I test my new webform (as a user). It seems as though it occurs ONLY when the LAST item of a Select with Multiple choices question (component) is chosen. I have three such questions in my form. If I leave them all blank, or choose any answer other than the last in the list, the form is submitted perfectly. If I choose the last item in just one of those questions, I get the error once. If I choose the last item in two of the questions, I get the error twice (in red, repeated at the top).

I am very new (less than a week) to Drupal and was thrilled to find this webform so easy to use. I am not a developer but was able to find it, install it, create a beautiful survey, get an email response...all today. Everything worked perfectly until I began creating lots of fake entries to test out the download function.

I have read the other posts regarding this message and don't see anything similar. I don't have special characters except for a semi-colon in one of these "problem choices" but not in the other two and I have semi-colons in other choices that don't result in the error. I even removed the last item in two of these, thinking I had an error or too many, but that didn't matter.

It also doesn't make a difference if I make the component mandatory or optional.

I hope I'm not missing something terribly obvious; please forgive me if I am! Thanks.

Comments

quicksketch’s picture

Could you post your list of options that you're using in the field that is causing the trouble? The error you're receiving isn't directly from Webform, it's from Drupal's built-in security mechanisms that is supposed to prevent tampered data from being submitted. My guess is that Webform isn't printing out the select list correctly and is accidentally submitting invalid data, which Drupal is then rejecting.

penny mondani’s picture

As far as I can tell, the list is as I typed it. I even went in to make sure there wasn't a blank line at the end. But it's like finding "what's different in this picture"...after a while it all looks the same! Questions 4 & 5 had NONE as a choice at the end, but I removed them to see if that made a difference.

Just now I tried it again (selecting the last item in each question). One instance of the error was returned, presumably for #5 because the check box was unchecked after the error.

I hope this is something I'm doing wrong because I am just smitten with this plug-in! I could tell my clients to set up an entire Drupal website and use this for the cost of just one month of SurveyMonkey! Thanks for your help.

Here is the webform (survey) location: http://pennymondani.com/?q=node/4

Here are the options for the three questions that seem to be the problem:
#2:
Moodle
Blackboard
D2L
Plateau
Joomla
Articulate (any product)
Adobe (any product)
LearnPoint/LeanForward
Other
None

#4:
I read the eBook "Moodle e-Learning: Questions and Simple Answers about Online Training" by Penny Mondani.
I went through a demo course at BeeLearn.com.
I went through a demo course at Moodle.org.
I went through a demo course on another Moodle site.
I played in a Moodle "sandbox" at a Moodle site.
I have taken some Moodle training.
I have worked with Moodle for real.
I went through a demo course with another LMS application.
I played in the "sandbox" of another LMS application
I took some training in another LMS application.
I worked with another LMS application for real.

#5:
I have at least $1000 to get started.
I need a shopping cart because I sell goods or services other than e-Learning courses.
I already have a shopping cart.
I expect to maintain a blog and/or e-newsletter when I have my Moodle site.
I already have a blog and/or e-newsletter.
I already have a company website and I intend to keep it.
I already have a company website but I would like to combine it with my e-Learning site.
My company has an INTRAnet where we plan to host our Moodle site.
My company has an INTRAnet but we don't want to host Moodle internally.
My Moodle site must be branded with my company "look".
I am flexible about the way my Moodle site can look; I'd like to explore my options for layout, menus, etc.
I have a design in mind and I can't live without it.

quicksketch’s picture

Version: 6.x-2.8 »
Status: Active » Fixed

I've fixed this problem in the 3.x version. However due to the discrepancies between the 3.x and 2.x versions, I'm not sure this will get a backport. The problem was caused by quotes in your options, i.e. My Moodle site must be branded with my company "look".. To avoid the problem in the 2.x version, I'd suggest using the key|value format for your options, which will avoid the problem.

For example, instead of My Moodle site must be branded with my company "look". use custom_branding|My Moodle site must be branded with my company "look"..

Status: Fixed » Closed (fixed)

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