Drupal Multi-step form breaks with node save -
i have custom multi-step form add node type content via hook_nodeapi. working great, 1 exception.
during testing, i've found when in mid-form (say, step 2 of 6) , update node in browser tab, form reverts step 1 when try proceed next step. similarly, when ahah event occurs, error , form disappears altogether. error suggests there problem retrieving form cache after node update, it's not able retrieve form parameters.
have encountered behaviour before, and/or have suggestions on how might go fixing it? isn't huge problem these nodes won't updated on production side, still significant nuisance affect.
edit: response. unfortunately can't contain form within block. must within node content itself. upon further testing noted other users thankfully aren't affected. user updates node while in mid-form affected. extremely unlikely happen on production site, impact of such occurrence minor, , have no time @ moment explore further, i'm going move on behaviour unexplained now. if can point out why occurring, i'd appreciate it.
well, have tried situation based on multistep form described here - http://zgadzaj.com/basic-drupal-multipart-form-example-with-previous-and-next-buttons - put in block , displayed on node page, , if edit node in different tab, still can navigate between form steps on original tab, keeping submitted values. i'd depends how form being built...
Comments
Post a Comment