Hi,
I got some trouble writing a module that make me modify some form elements generated bu CCK. In other words i wish i have the possibility to add #ahah property in my field, a nodereference select list, to change options in other nodereference select (classic state->country->city problem). The issue is that while i am able to change and add field property in hook_form_alter (i.e. i added suffix, prefix, i changed titles and default values), i'm not able to get the #ahah property works. I know for sure that the callback is right because i have tested it in a complete brand new custom module (i recreated a new form, not modifying a cck).
Someone has some advices or some references to best practice?
Thanx
Comments
An example from reference docs..
Hi, May be this example helps you
thank you very much for the
thank you very much for the quick reply, but i have followed yet this example... i don't know why but the ahah callback declared in the path isn't called... It's a kind of incompatibility between CCK noderefence and the #ahah property?