Short Form

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);

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.
  • block configuration options giving the site builder greater flexibility on what to display

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);

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.
  • block configuration options giving the site builder greater flexibility on what to display

This module is partially supported by CivicActions.

2
Average: 2 (1 vote)

cuZGCsiuRclHOnnXu

16june-26june2009;7;10

Issue Queue

Radio's & checkbox baseline alignment

6.x-1.2, User interface, bug report, normal, active

With the default blueprint theme I'm having issues with the alignment of checkboxes and radio buttons. I know I can try to realign them in a custom theme using CSS, but I wanted to confirm they are set up correctly.
The misalignment seems to be compounded when an error is displayed, particularly in Firefox 3.0.11 (Mac).
See screenshots.

 

CVS Commits

  • cvsuid: 
    29191
    cvstag: 
    DRUPAL-6--1
    cvscomment: 
    clean up info file
    cvscid: 
    113211

    commit #113211 by douggreen on DRUPAL-6--1 - clean up info file

  • cvsuid: 
    29191
    cvstag: 
    DRUPAL-5
    cvscomment: 
    <a href="http://drupal.org/node/212172">#212172</a> by kourge - implement hook_uninstall
    cvscid: 
    96937

    commit #96937 by douggreen on DRUPAL-5 - #212172 by kourge - implement hook_uninstall

  • cvsuid: 
    29191
    cvstag: 
    DRUPAL-5
    cvscomment: 
    <a href="http://drupal.org/node/211392">#211392</a> from acstewart - add mysqli to table creation
    cvscid: 
    96282

    commit #96282 by douggreen on DRUPAL-5 - #211392 from acstewart - add mysqli to table creation

  • cvsuid: 
    29191
    cvstag: 
    DRUPAL-6--1
    cvscomment: 
    fix schema definition for integer (use size instead of length)
    cvscid: 
    92708

    commit #92708 by douggreen on DRUPAL-6--1 - fix schema definition for integer (use size instead of length)

  • cvsuid: 
    29191
    cvstag: 
    DRUPAL-5
    cvscomment: 
    <a href="http://drupal.org/node/186787">#186787</a> - major changes so we can support saving more forms, such as the node add form
    cvscid: 
    91866

    commit #91866 by douggreen on DRUPAL-5 - #186787 - major changes so we can support saving more forms, such as the node add form