It looks like you're new here. If you want to get involved, click one of these buttons!
In Providence, it appears that in every checkbox list, there are 3 spaces in the label before the actual text--see code snippet:
<td> <input name="P224ObjectEditorForm_attribute_426_426_new_7" value="1094" type="checkbox" id="P224ObjectEditorForm_attribute_426_426_new_7"> 7th</td>
`
Is the application producing them or the Providence theme? How can they be removed?
Thanks!
BB
Comments
Not sure what would have produced those spaces, but you can edit the list item labels directly in Providence under Manage - Lists & Vocabularies.
They are not in the list item labels. Also, I have seen this on more than one providence instance that I manage. The application is writing the spaces--as far as I can tell.
Still, have not located the cause of these extra spaces--although they are all through the application if you search the source code. I can't tell which one is used when writing the checkbox code. It is not in the theme.
hey there--asking again. I cannot figure out why list values get 3 spaces after the checkbox in the metadata container.
This code is from list in the default install profile turned into a check box metadata field:
<td><input name="P288ObjectEditorForm_attribute_38_38_new_0" value="187" type="checkbox" id="P288ObjectEditorForm_attribute_38_38_new_0"> video/avi</td>
Also part of radio lists too:
<td><input name="P289ObjectEditorForm_attribute_41_41_new_0" value="179" id="P289ObjectEditorForm_attribute_41_41_new_0_1" type="radio"> text/cmd</td>
I think the issue is buried in here--line 337 or 345 of htmlFormHelpers.php:
$vs_element = "<input name='{$ps_name}' {$vs_attr_string} type='checkbox'/>\n";