This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

How to create a multistep CCK form?

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:

  1. Setting the current step index (1,2,3.../first,second,last etc.)
  2. 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...

tinyMCE appears after submit

hello there,

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.

can this have caused a damage somewhere ?

What is a module HEAD?

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?"

events module

hi. i need events module for drupal 5. does anyone know where can i download it. thanks.

How to limit a user to be able to create ONLY ONE page?

I am implement a site for user' profile only.
How to limit a user to be able to create ONLY ONE page?

Thanks.

oscar_f

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions