error in AHAH for CCK fields

View: New views
2 Messages — Rating Filter:   Alert me  

error in AHAH for CCK fields

by chakrapani reddivari :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi I have added ahah to cck fields through form_alter. Its working fine until form validation occurs.It fails after form validation, i.e the ahah no more exists with the fields[doesnt change anything if we click].
any help is appreciated

Thank you
chakrapani.

Re: error in AHAH for CCK fields

by chakrapani reddivari :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

More information about the issue::

requirement:: I need to add ahah to cck field[state], on changing state i need to filter the regions based on state.
what i did::  I added ahah binding to the cck field usinh hook_form_alter().
Issue::  After form validation, if there is any error it'll set error. After which the ahah functionality is not working i.e the ahah i added using hook_form_alter no more exists.
hope this explains my problem better..

On Fri, Nov 6, 2009 at 1:46 AM, chakrapani reddivari <chakrapani.reddivari@...> wrote:
Hi I have added ahah to cck fields through form_alter. Its working fine until form validation occurs.It fails after form validation, i.e the ahah no more exists with the fields[doesnt change anything if we click].
any help is appreciated

Thank you
chakrapani.