Closed (fixed)
Project:
Subform
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 May 2011 at 17:29 UTC
Updated:
7 Jul 2011 at 05:31 UTC
The same way we propagate in subform_element_validate() rebuild = TRUE from subform_state, up to $form_state, we should allow propagating other values.
Maybe we should define a key where any variable added will bubble up, e.g. $subform_state['subform propagate']['foo'] = 'bar'; will result with $form_state['foo'] == 'bar'
Makes sense?
Comments
Comment #1
casey commentedWhy would you need this? You can already access subform states using subform_get_state().
Comment #2
casey commentedComment #3
casey commentedLet me know if this suits and the issue can be considered fixed.
Comment #4
amitaibuYap, sorry, forgot to close, when I realized it was there.