Short Form

Abandoned Modules - June 24, 2007 - 18:47

Create short form's from any form, mostly to place in a block.

It does this mostly through jquery:

  • removing the field title, and if the field has no value, and when the field does not have the focus, displays the field's title as it's value.
  • removing fieldsets
  • removing non-required textarea's

Short Form can be used by module developer's:

  • $form['#theme'] = 'shortform';
  • shortform_alter($form, $textarea = FALSE);

Short Form can be used by site builder's:

  • on admin/settings/shortform, enable the "spy"
  • goto the page with the form you'd like to use
  • on admin/settings/shortform, check the form you'd like to use
  • on admin/build/block, add the block to your website
  • remember to configure the block's visibility

TODO

  • move the field description from a div after the field into the HTML field element's description , which generally displays as mouse-over text.

This module is partially supported by CivicActions.

Releases

Official releasesDateSizeLinksStatus
5.x-1.02008-Feb-199.82 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
5.x-1.x-dev2008-Jan-239.82 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
 
 

Drupal is a registered trademark of Dries Buytaert.