security

Secure Dynamic Forms and Subforms

This article is a follow up to my first tutorial on the subject: A Dynamically Expanding AJAX/ AHAH Drupal Form Element . The basic flow of that article is still correct, but two month ago I could not figure out how to do dynamic forms without grabbing what I needed out of $_POST, which removes all the great FAPI security. Now I have figured it out and present the dynamic_subform module in Ahah Forms v1.5 , which provides functions for securely creating and updating dynamic forms and subforms.

Syndicate content