Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I have used a CCK Select Other field on my Account details / Registration form (the classic 'where did you hear about us?' selector). However going to field display and selecting for the field label has no effect.
Also the label is in italics unlike all other field labels.
You can fix these both with CSS, but really the form element should be output as per other elements, imho. Here's a (1 of many) CSS fix:
/* remove italics */
.form-type-select em.placeholder { font-style: normal !important; }
/* Hide label completely */
.form-type-select em.placeholder {
position: absolute;
clip: rect(1px, 1px, 1px, 1px);
}
Comments
Comment #1
mradcliffeThanks. Yes, this should behave like other fields.
Comment #2
mradcliffeI can fix the italics title issue, but I do not see where in Field UI you can hide the Field label on the Widget form.
Comment #3
mradcliffe