forms api

Drupal Selector FAPI Element

A really nice extension to Drupal Forms API has been released over the weekend: Selector Element module introduces the hip awesomeness of jQueryUI Sortable widget to Drupal's Forms API in a very easy way.

If you are using Drupal and wanted to quickly implement one of those drag-n-drop-n-sort selectors - you found a perfect module for yourself.

I have no doubt I will be using this new element a lot, myself.

Extreme Form Handling in Drupal

Via: AgileApproach Blog

Drupal Form-Handling support goes far beyond just the documented part of so-called Forms API. You can do pretty much anything with forms in Drupal and you can use/display the forms anywhere.

Here is an example. Let's assume we want to construct a custom node type with custom fields, using CCK. Then we want to display this form into some non-standard page. To further complicate things, let's assume we also want custom verification and processing routines.

And last but not least - we want to use full power of Drupal and write a minimal amount of code. Following is a snippet demonstrating key points to achieving this task (thorough understanding of Drupal is required):

Syndicate content