954,597 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

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
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: