I have not checked other new fields for same situation. I will do and report back
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | form_required.patch | 778 bytes | ChrisKennedy |
I have not checked other new fields for same situation. I will do and report back
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | form_required.patch | 778 bytes | ChrisKennedy |
Comments
Comment #1
vm commentedall other types of fields work as expected.
For now my workaround is to just add the red asterisk using HTML in the description field.
Comment #2
jpsalter commentedI've got the same problem. I can't seem to find out why - even after trudging through the code.
Comment #3
jpsalter commentedThe theme_form_element function does not add the red * if there is no title. You can add the logic for this by adding some code:
theme_form_element is found in the includes/theme.inc file:
Modified function:
Comment #4
jpsalter commentedThis function is a little more clean - the label is only added if the form is required:
Comment #5
vm commentedSweet! thanks for the followup. I will certainly employ this however, you might want to consider an actual patch file, so that this may get into core. I'm not sure how much attention this will get without being in patch form.
Again, Thank you very much.
Comment #6
ChrisKennedy commentedHere is a patch for D6.
Comment #7
catchduplicate of: http://drupal.org/node/78965