The drop is always movingYou know that saying about standing on the shoulders of giants? Drupal is standing on a huge pile of midgetsAll content management systems suck, Drupal just happens to suck less.Popular open source software is more secure than unpopular open source software, because insecure software becomes unpopular fast. [That doesn't happen for proprietary software.]Drupal makes sandwiches happen.There is a module for that

Time for Form API feature requests

Submitted by nk on Mon, 2007-04-09 06:16

Have you tried to coded some tricky form and failed or nearly failed or it was just too hard? Now is the time to send me such problems, because between April 21-May 1 there will be a form API coding spree -- I will fly to Chicago and spend hours every day with Jeff Eaton on form API.

Commenting on this Story is closed.

Submitted by JohnAlbin@drupal.org on Thu, 2007-04-12 02:46.
  1. side-by-side forms

    I think many, MANY form designers would like to see the ability to have side-by-side forms, where the label is right-aligned, top-aligned, and to the left of the widget.

    With proper CSS, you would need to specify the width of the labels column (which should have a form-wide value that can be overridden at the form-item-level.) Also, in a side-by-side form, there are some exceptions like text areas that would need to use the standard 2-line label-then-widget layout.

    The biggest issue would be with translations. Translations might want to change the label column width and right-to-left languages would need to specify a rtl form flag to make Drupal use the rtl CSS. Again with proper CSS, this isn't too difficult.

    If you need CSS help, I'm volunteering. (The clear-block class will be crucial for this, btw.)

  2. Over-riding the label semi-colon.

    I believe Jeff is already thinking about this, but I must say there should be a FAPI value that specifies what character is appended to the label. Again, it should be language over-rideable.

I'm really looking forward to seeing the results.