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
Comment #1
ariana commentedJust 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.
Comment #2
deekayen commentedI 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.
Comment #3
deekayen commentedstale - assuming resolved. re-open otherwise.
Comment #5
Anonymous (not verified) commentedThis 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
Comment #6
spacereactor commentedI 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?
Comment #7
Dan Silver commentedI 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?
Comment #8
Dan Silver commentedAny update? This is a very big problem on my website. Please let me know how I can help.