help

Drupal AHAH: Issues with drupal_render()

While integrating AHAH functionality into a compound CCK field that I'm currently working on, I ran into an issue to where my "checkboxes" FAPI type were not rendering when the form was rebuilt via AHAH.

Building Custom Compound Fields/Widgets for CCK Drupal 6.x

For the lack of documentation available focused on building custom compound widgets/fields for CCK, I've decided to write some based on personal work on building one such for use in my current project.

The widget that i'm building is a field to generate and select search results via user provided keywords. The end result given to the user in the node edit form is a field containing three elements:

  • Textfield for Keywords.
  • Submit Buttom to generate/refresh search results.
  • Table of checkboxes for choosing individual search results.