Hi
The issue I have is with widget type Check boxes. The label is displaying twice. It happens on check boxes fields types like term reference to check boxes, List(text), and webforms. That is why I thought this could be issue with Field List Module.

Here is what the HTML looks like. Has you can see the Label there twice.


Add Engraved Lines ($0)
Add Engraved Lines ($0)

Attach an image of the section the window.

I am at a lost on how to even come up with work around for the line are identical so can not use css to hidden one.

Also I have search and search to see if this issue as been reported already but could not find one. So I am sorry if it turns out to be duplicate or if this not the place to report it.

CommentFileSizeAuthor
checkboxlabeltwice.png2.58 KBpam.pkrweb@gmail.com
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pam.pkrweb@gmail.com’s picture

Sorry I forgot I needed the code around the html to show html

<div class="form-item form-type-checkbox form-item-line-item-fields-field-term-engrave-3li-und-33">
<input id="edit-line-item-fields-field-term-engrave-3li-und-33" class="form-checkbox" type="checkbox" value="33" name="line_item_fields[field_term_engrave_3li][und][33]">
<label class="option" for="edit-line-item-fields-field-term-engrave-3li-und-33">Add Engraved Lines ($0) </label>
<label class="option" for="edit-line-item-fields-field-term-engrave-3li-und-33">Add Engraved Lines ($0) </label>
</div>
dcam’s picture

Category: Bug report » Support request
Status: Active » Postponed (maintainer needs more info)

You need to supply more information. Drupal core doesn't do this by default. What contributed modules do you have enabled? What theme are you using? Please give us steps to reproduce this problem with a clean install of Drupal, if possible.

pam.pkrweb@gmail.com’s picture

Hi
1. The theme is Omega 5.
2. The site has a long list on module for it has Commerce installed.
One thing I did finally try was I change the theme to Bartik and Garland. And the label was not doubled. So I am wondering now if it could be a theme issue. I will submit a issue with Omega 5 theme. If I don't is an issue already submitted.
3. I will see if I can get a base clean install of Drupal set up too.
Thank you for you support.

bobbia’s picture

I am working on the same project as PamReed. And, after a lot of troubleshooting, we discovered some code in the template.php that was causing this. Taking out this code fixed the issue.

So - you can close this issue if you would like.

Thanks!
Bobbi

dcam’s picture

Status: Postponed (maintainer needs more info) » Fixed

Ok, thank you both for reporting back.

Status: Fixed » Closed (fixed)

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