When testing Ctools multistep form in CTools AJAX Example module the following error is shown if “CONTINUE” or “BACK” button is pressed and no checkbox is selected:
“An illegal choice has been detected. Please contact the site administrator” .
This is due to wrong #default_value supplied to the form. This is why I’m offering a patch.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ventzie created an issue. See original summary.

ventzie’s picture

ventzie’s picture

Issue summary: View changes
ventzie’s picture

Issue summary: View changes
ventzie’s picture

Issue summary: View changes
ventzie’s picture

Issue summary: View changes
ventzie’s picture

Assigned: ventzie » Unassigned
Chris Matthews’s picture

The 3 year old patch in #2 to ctools_ajax_sample.module applied cleanly to the latest ctools 7.x-1.x-dev and (if applicable) still needs review.

Checking patch ctools_ajax_sample/ctools_ajax_sample.module...
Applied patch ctools_ajax_sample/ctools_ajax_sample.module cleanly.