Liran Tal 10/26/2012

Maintaining states between form submit and node hooks in Drupal 6

Read Original

This article addresses a common Drupal 6 development challenge: sharing data between custom form submit handlers and hook_nodeapi() implementations. It explains the isolation between the form API and node hooks, critiques accessing $_POST directly, and provides a clean solution using the $node object as a temporary, non-persistent storage mechanism to pass state or data.

Maintaining states between form submit and node hooks in Drupal 6

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week