Project:AHAH helper
Version:6.x-2.2
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Thanks for such an amazing module - it definitely makes AHAH a little easier.

I have a set of dependent dropdowns, and after making updates to the parent dropdown (which correctly triggers child changes) and then submitting the form, if I back up to the form, it regenerates the form contents (form storage is empty), but the browser retains the parent dropdown selection. This creates a mismatch between the triggering field and the children. To resolve, I tried unsuccessfully to force the page to expire, was looking at storing form values in session space so that I could restore the children, but as a simpler answer, I just force the form to reset on load.

Any better ideas on how to resolve this?

Comments

#1

Category:support request» bug report

I am also facing similar issue. Also if I change parent drop down selection, it throws

warning: array_shift() expects parameter 1 to be array, null given in ahah_helper/ahah_helper.module on line 155.
warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in includes/form.inc on line 377.