Closed (won't fix)
Project:
ImageField
Version:
5.x-2.6
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Oct 2008 at 15:36 UTC
Updated:
22 May 2009 at 09:57 UTC
Hi there,
When setting an image field as mandatory, no red star is shown to the user when editing/adding a node containing this field.
Also, when the form is submitted without the mandatory image, the form returns with an error as expected, but no error class is set on the image field form item itself: the red border is missing.
Thanks.
Comments
Comment #1
tormu commentedBump. This doesn't seem to be fixed yet, though it's quite standard issues for form items, right?
Comment #2
quicksketchIt's not fixed because the developers are no longer working on Drupal 5. This will remain unfixed unless an interested developer submits a patch. The "required" property does not work on "file" type elements anywhere in all of Drupal, it's actually a core bug that has only just been fixed in Drupal 7 I believe. So modules like ImageField and FileField have to include special logic to get it to operate properly. This bug is fixed in the Drupal 6 version of ImageField.
Comment #3
keesje commentedThanks for the info, wont fix then.