By jefflane on
Is there a way to get notified when a select list is changed (and subsequently its new selected value)? The select list is created with CCK, but the module has access to the form and its elements through hook_form_alter()
Is there a way to get notified when a select list is changed (and subsequently its new selected value)? The select list is created with CCK, but the module has access to the form and its elements through hook_form_alter()
Comments
I think you can use #ahah
I think you can use #ahah when altering the list. also check http://api.drupal.org/api/file/developer/topics/forms_api_reference.html
How do you add an #ahah
How do you add an #ahah property after the form element is already built?
I would think it would be this, but this doesn't work: