How to use tables in Form API |

Voor ingewikkelde formulieren is het soms onvermijdelijk om tabellen te gebruiken met form elementen in. Hoe die te renderen in drupal, vanuit je module? Deze comment op beschrijft de propere oplossing. Form maken, theme hook maken en gebruik van drupal_render() in je theme hook.

Cleaning Up Node Edit Forms | Drupaler | Drupal Blog, Collaborative Drupal Resource

Almost every module you install will put something more on the node forms, until you end up scrolling forever just to reach the Save button. Not to mention most of this stuff you won't want them playing with anyway. Of course a lot of this "tidying" can be done with roles and user permissions. You can hide most stuff from Joe Editor this way, but sometimes the form is still pretty long and unwieldy. So how do you make prettier node forms?

Multistep |

Multistep adds multiple-step functionality to content type editing forms. It does so by assigning a step number to each fieldgroup within the content type and hiding all the groups that do not belong to the current step. The user can then use different submitting buttons that will redirect to the previous, next, or current step. The module also provides a block for each content type with a menu of the different groups within that form and a progress bar.

Subscribe to form