Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I'm trying to build a multistep form (a.k.a. "wizard").
The excellent guide of Jeff Eaton about how to do such a form, relates only to a user-supplied form (you need to write a special module for it).
I wonder if there's a way to do the same thing with a CCK form. Here are the issues I ran into so far (partialy covered here):
There are two things that need to be done:
Setting the current step index (1,2,3.../first,second,last etc.)
Determining which step we're at, to decide which form fields to present, or which action to perform, upon submitting.
To set the current step index, Eaton uses the $form_values array which is automaticaly added to a multistep form. He's doing so in the form building function (function my_form), with the aid of $form_values. This way he assures the step won't be increased until proper validation.
If I want to do the same thing on an existing form, I'd have to use hook_form_alter. The thing is $form_values is not available to hook_node_alter...
i am co - amin of a site running drupal 4.7 and fully installed tinymce. all works fine basically, tinyMCE is running and i we can use. also we see wyrisws on the edit page but the moment you click sumbit everything disappears and leaves the blank text.
i installed the profile_css module meanwhile, didnt really work it out and dropped it.
Looking for Drupal 5 modules, I often see a module listed available as a "HEAD."
What is this? Is it installable as a module, an indication of "under development," a "hold on to yer britches, darn it. It's on the way?"