Currently I have a search form (Finder module) that when submitted the page callback will detect this and add some results output. Using the form with $form['#ajax']['enabled'] = TRUE; doesn't give me any results.

Where does your module look for new output with which to append/prepend/replace the form, if at all? I have a function to generate this HTML from the $form_state if needed, so it should be fairly easy via a hook or something?

Comments

danielb’s picture

PS if this is still a feature yet to be implemented, I would suggest that for me a 'replace' of the form would be best in this case, so I can change the form output itself for multistep and such.

edit:/ hmm but I would need to regenerate not just the form, but possibly any other existing output from my page callback. I guess I can wrap it in a div that can't be removed in the theme function.

danielb’s picture

Status: Active » Closed (fixed)

I think what I'm after is probably better handled with the fapi ahah stuff.