splitting long form into multiple pages (multipage cck)

public
safknw - Tue, 2008-05-13 07:35

Hi,
I'm working on a site which has a very long input form (a cck) , is there any way by which I can split in to multiple steps and save data in each step.

field groups

rjdempsey's picture
rjdempsey - Tue, 2008-05-13 14:16

You can divide the form into a number of field groups. Field groups can then be collapsible or collapsed by default. You can also divide the form into multiple tabbed pages with the cck_fieldgroup_tabs module.


won't save though

rjdempsey's picture
rjdempsey - Tue, 2008-05-13 16:47

sorry, overlooked that part about saving each page. Field groups won't help you there. You could try autosave though.


CCK Wizard and CCKWitch

christefano's picture
christefano - Wed, 2008-05-14 03:30

I know of two projects that try to address this:

http://drupal.org/project/wizard
http://drupal.org/project/cckwitch

I haven't used either one, though. If you use either one, please let us know about your experience.


Doh!

BurningDog@drupal.org's picture
BurningDog@drup... - Tue, 2008-05-20 20:56

Wizard says to not use on production sites; Witch hasn't released any files. Doh!


A module example

BurningDog@drupal.org's picture
BurningDog@drup... - Tue, 2008-05-20 21:06

Multipage forms with CCK which shows how to write php code in a custom module for hook_node_form(), hook_form_alter() and hook_form_submit() to achieve multipage forms. It's not been packaged in a contrib module but if you're desperate, that's a good place to start.