Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
forms system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2008 at 15:41 UTC
Updated:
1 Jun 2009 at 13:36 UTC
Jump to comment: Most recent file
Comments
Comment #1
fuerst commentedHaving #ahah working for #type checkboxes is a nice addition.
form.inc_DRUPAL-6.patch against Drupal 6.5 succeeded and works as advertised.
Had no chance to test using HEAD yet.
How to proceed to get this included into core?
Comment #2
darren ohWell, the patches needed to be updated to match the latest core versions. In your next reply, set this issue to "reviewed and tested". The patches are exceedingly simple (and identical to the one used to fix radio boxes), so don't worry if someone scolds you for changing the status.
Comment #3
fuerst commentedBoth patches succeeded using Drupal 6.5 / Drupal 7-dev.
I validated the functionality using Drupal 6.5.
So, it's ready to be included into the next release, hopefully.
Comment #4
dries commentedCommitted to CVS HAED hit.
Comment #5
yang_yi_cn commentedI'm not sure if I'm doing correctly, but I tested it and it's not working. The patch was applied with not warnings, but the checkboxes still doesn't work for #ahah.
I tried to add a checkboxes widget by ahah. The submission is by click a button with #ahah property, and if I insert a textfield or select, it works as expected, but if I try to insert a checkboxes widget, it only shows the rendered checkboxes form-item, not any of the options. I tried to trace the code and find expand_checkboxes() in form.inc is not even getting called. Is it the same issue of the patch trying to fix or another issue?
Comment #6
darren ohThat's a different problem. This patch lets you make checkboxes do things when you click on them.
Comment #7
darren ohOops. Already ported. Just needs to be committed.
Comment #8
gábor hojtsyLooks good, reviewed and committed to 6.x! Thanks.
Comment #10
Alex Savin commentedStill I can not get ahah to create dynamic checkboxes elements. If I change the type of the element in select than everything works ok.
Comment #11
darren ohPlease see comment #6.