Closed (fixed)
Project:
Validation API
Version:
6.x-1.0-rc4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2008 at 04:06 UTC
Updated:
22 Dec 2008 at 18:36 UTC
Got an error message "An illegal choice has been detected. Please contact the site administrator." when submitting a form.
The actual error encountered was from the book Pro Drupal Development page 46 - if you have the book. The example defines a new Action called Beep Multiple times. When you go to configure the action, thats when you get the error. The error stops happening if I disable the module.
An explanation of this error appears at http://proofgroup.com/blog/2008/jul/debugging_mysterious_illegal_choice_...
Comments
Comment #1
arcane commentedThe actual code from the example is:
Comment #2
TapocoL commentedWell, first of all. The code you posted has an error:
Fatal error: Call to undefined function beep_nultiple_beep_action_form()I changed that to beep_multiple_beep_action_form, then I saw your last function is misspelled.
I was able to run the configure form without problems on my setup. So, can you write a step-by-step guide to recreating the problem.
Comment #3
TapocoL commentedNo longer supporting AJAX Validation (use AJAX Forms).