That's the error I get when trying to submit any changes to the profile fields that I added with this module. I applied the patch in the bug issue two below mine (before that i was getting way more errors!) but still no dice. I don't have any fields that I'm denying set to required. Any help would be appreciated.

Comments

ariana’s picture

Just wanted to add the error only seems to occur when you try to deny a list selection type of field. If you allow it, the problem goes away.

deekayen’s picture

Status: Active » Postponed (maintainer needs more info)

I just committed http://drupal.org/node/134647 which changed much of how that worked. Please give it another try when the -dev nightly release updates.

deekayen’s picture

Status: Postponed (maintainer needs more info) » Fixed

stale - assuming resolved. re-open otherwise.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

This seem's to be alive, but maybe the problem lies with the profile core module.

My theory: When a select list is present but no value has ever been entered before (new users for example), none of the option tags for that select list have the selected="selected" attribute. And if the select list is disabled using this module it won't ever be selected so upon submit it will hav an undefined value, and annoys the form validator.

Possible fixes:

A. Make Drupal issue a selected="selected" attribute for a "default entry" (--). That doesn't mean that a value has to be stored, it's just a mere fallback.

B. Make Drupal less demanding upon validation

spacereactor’s picture

I using drupal 6.16 and still facing An illegal choice has been detected -please contact the site administrator if the form exist a select list. From my understanding from #5, both Point A and B required to hack the core drupal, is there other way to handle this?

Dan Silver’s picture

I am also still having this problem. I have tried 6.x-1.0 and 6.x-dev, both have the illegal choice error for me when a user attempts to change their password. Is there any way to fix this in the module, not core?

Dan Silver’s picture

Any update? This is a very big problem on my website. Please let me know how I can help.