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.

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.
japerry’s picture

Status: Needs review » Closed (outdated)

Drupal 7 is no longer supported, closing.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.