⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

How can we take the colon [:] off from form labels?



tanver
  • profile picture
  • Member

Posted 10 December 2011 - 08:04 AM

I wonder if there is a way to take the `:` which appears at the end of all the label's on the form or if we can have all the colon [:] signs at the right most position [at a specific position] in the div.

Cèsar Martí
  • profile picture
  • Member

Posted 15 March 2012 - 16:49 PM

I'd like as well. I guess it's somewhere in a .js inside of themes folder. Any idea?

Cèsar Martí
  • profile picture
  • Member

Posted 16 March 2012 - 10:03 AM

Ok, I found it. In themes/datables/views or themes/flexigrid/views, in add.php ad edit.php, around the line 40 or 42...

[php]<div class='form-display-as-box' id="<?php echo $field->field_name; ?>_display_as_box">
<?php echo $input_fields[$field->field_name]->display_as?><?php echo ($input_fields[$field->field_name]->required)? "<span class='required'>*</span> " : ""?> :
</div>[/php]

Here we go.