altering drupal 6 forms with ajax
Hi all.
is it possible to alter a form after an ajax call?
what i want to do is this:
i have a form with some textfields and a select box with 2 options.
what i want to do is when a person chooses one option, i will unset some of the textfields(depends on which option the user choose).
i do this with ajax because i need to load from my DB which input to disable.
ofcouese i can hide it with jQuery(which i do).
but i was wondering that if there a way for doing it in the ajax server function.
10x.
severman
Junior Poster in Training
70 posts since Mar 2008
Reputation Points: 10
Solved Threads: 0