Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | ctools_sample_multistep_form_error-2612976-0.patch | 1.39 KB | ventzie |
Comments
Comment #2
ventzie CreditAttribution: ventzie commentedComment #3
ventzie CreditAttribution: ventzie commentedComment #4
ventzie CreditAttribution: ventzie commentedComment #5
ventzie CreditAttribution: ventzie commentedComment #6
ventzie CreditAttribution: ventzie commentedComment #7
ventzie CreditAttribution: ventzie commentedComment #8
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedThe 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.