fapi

Drupal wizard form: Validation and previous button

In my drupal6 site I have wizard form. I implemented it with FormAPI using form storage and the rebuild property. My form validation is being done with the #required property and with functions in the #element_validate property. It's working fine but for one thing, when I click on the previous button the form is being validated and I don...

Create multiple CCK nodes with single custom form in Drupal

I need a form which will allow creation of several related nodes at the same time. All of the nodes involve CCK fields. I would like to use as much of CCK's built-in validation, submission, input widget, and security functionality as possible/practical. What is the best way to accomplish this in Drupal 6? Are there 'best practices' or ...

drupal form override theme function

i created a module that generates a small form. I also made a function that should theme the form, overriding the standard theme. But form some reason it doesn't call the theme_ function. Am i forgetting something? function mailinglist_menu() { $items['mailinglist'] = array( 'title' => t('Beheer mailinglist'), 'page callback'...

Drupal Nodereference in a custom form

I have a custom Drupal FAPI form that supports a fairly complex workflow and I would like to add a Nodereference field to it. Although I've found people who have included Nodereference fields on custom forms, I have been unable to find any examples of the FAPI declaration for the field (other than this question which uses a text field w...