Closed (fixed)
Project:
AHAH Forms Framework
Version:
5.x-1.5-5
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2008 at 12:06 UTC
Updated:
21 Jul 2009 at 21:25 UTC
I have three select lists on my form. Is it possible to change the list on two of them when one changes ? Right now I can change only one of them.
If I attach this to one of my select lists it changes the second one.
'#ahah_bindings' => array(
array (
'event' => 'change',
'wrapper' => 'select2',
'path' => 'updateselect2',
)
)
I tried adding two bindings to the select list but only the last one worked.
'#ahah_bindings' => array(
array (
'event' => 'change',
'wrapper' => 'select2',
'path' => 'updateselect2',
),
array (
'event' => 'change',
'wrapper' => 'select3',
'path' => 'updateselect3',
)
)
Thanks
Comments
Comment #1
drenton commentedAnybody have any ideas on this ? I will probably have to change ahah_forms.js ?
Thanks
Comment #2
starbow commented