When a form is completed incorrectly (HS use case: a required form item was not filled out), a HS form item should get applied the CSS as well. So, somehow, it should inherit the CSS.

This'll be fixed automagically in D6 (thanks to AHAH integration in FAPI). So marking this as postponed.

Comments

wim leers’s picture

Title: Form errors CSS » Support for the "error" class (i.e. when a required form item was left empty)
Version: 5.x-2.0-rc3 » 5.x-2.0-rc4
Status: Postponed » Fixed

This is a pretty critical feature to have, thus I decided to not postpone it.

It's implemented in JS. The benefit is that I don't have to bounce the status back and forth all the time in Drupal 5, and even better: as soon as the user does something with the HS powered form item, the "error" class will disappear. This is good usability-wise, since the user is resolving the error, so the warning should disappear.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.