When you check the 'required' box, it is not being respected. The form validates with no input and the asterisk does not appear. Furthermore, when you add a default option such as '|Please select,' to force the user to select a different option, '|Please select' validates.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mradcliffe’s picture

I have a test in 7.x-1.x, and I know this behaves differently in 6.x-1.x. I'm porting over the test and will look into it (confirmed bug).

mradcliffe’s picture

I can't do the asterisk at the moment, but I ported the Drupal 7 test to Drupal 6 and finished logic to respect the required property.

The first patch is for drupal 7 version to add an additional assertion I added when I backported the test to Drupal 6. The second patch is for drupal 6 dev. version.

mradcliffe’s picture