'add another item' in non-CCK Drupal forms

Posted by ceejayoz on Stack Overflow See other posts from Stack Overflow or by ceejayoz
Published on 2009-12-02T23:12:29Z Indexed on 2010/06/08 18:32 UTC
Read the original article Hit count: 442

Filed under:
|
|

CCK for Drupal has the handy feature of allowing a single CCK field to accept multiple values via a "add another item" button that results in an array of data in the node.

I'm wondering if there's any easy way of adapting this for a non-CCK form that I'd be calling by drupal_get_form. I'd rather not have to re-invent the wheel with multi-step form techniques.

Anyone done this?

© Stack Overflow or respective owner

Related posts about drupal

Related posts about cck