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.

Average: 2 (1 vote)

Issue Queue

short form dosnt catch the text field area

5.x-1.x-dev, User interface, support request, normal, active, math_1048

Hello my friends
I test "Short Form" with the FAQ_ASK module http://drupal.org/project/faq_ask
the FAQ_ASK module form contain (select list, text field, submit button)
but hte ShortForm spy cant detect the text field
are there a solution for this problem?

 

CVS Commits