By default AJAX submits to system/ajax
and retrieves the form from cache. So if your form depends something from the page it originally appeared on it then you need to store that in $form_state
, the whole of $form_state
is cached alongside of the form (only a few internal keys are not).
Commenting on this Story is closed.
This really needed to go to Drupal Planet? Let's try to rise the quality of the feed
This is really a helpful information for developers.
Compare this to http://mearra.com/blogs/vesa-palmu/time-does-not-equal-money
Neither rfay nor me could figure out that the relation dropzone block AJAX was broken due to this and we needed effulgentsia for it. Are you sure this is not quality information?
My apologies then, I didn't expect that was so useful information, because of the lack of context.