For consistency with single-valued fields, the colon in the label for multi-valued field forms should be removed.

#12 d7-before.png10.82 KBjfhovinne
#12 d7-after.png10.73 KBjfhovinne
#11 remove-colon-1507556-11.patch628 bytesIshaDakota
PASSED: [[SimpleTest]]: [MySQL] 39,383 pass(es). View
#7 before.png15.43 KBdcam
#7 after.png14.75 KBdcam
#3 remove-colon-1507556-3.patch648 bytesC. Lee
PASSED: [[SimpleTest]]: [MySQL] 35,904 pass(es). View
#1 remove-colon-1507556-1.patch1.18 KBC. Lee
PASSED: [[SimpleTest]]: [MySQL] 35,910 pass(es). View
s4.png14.15 KBC. Lee


C. Lee’s picture

Status: Active » Needs review
1.18 KB
PASSED: [[SimpleTest]]: [MySQL] 35,910 pass(es). View
C. Lee’s picture

Category: feature » task
C. Lee’s picture

648 bytes
PASSED: [[SimpleTest]]: [MySQL] 35,904 pass(es). View

Sorry, the previous patch contained a patch for another issue; here is the correct patch.

Status: Needs review » Needs work

The last submitted patch, remove-colon-1507556-3.patch, failed testing.

C. Lee’s picture

Status: Needs work » Needs review
C. Lee’s picture

#3: remove-colon-1507556-3.patch queued for re-testing.

dcam’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Novice, +needs backport to D7
14.75 KB
15.43 KB

#3 still applies and correctly removes the colon following multi-valued field titles. See the attached before and after images.

This issue exists in D7 and should be backported.

amit.drupal’s picture

use hook_form_alter for remove colon from label
function custom_form_alter(&$form, &$form_state) {
if($form_id == 'form_name')

swentel’s picture

Backport is probably not going to happen as it's changing a string. It's fine for me though for Drupal 8.

Dries’s picture

Version: 8.x-dev » 7.x-dev
Status: Reviewed & tested by the community » Patch (to be ported)

Committed to 8.x. Moving to 7.x Thanks!

IshaDakota’s picture

Status: Patch (to be ported) » Needs review
628 bytes
PASSED: [[SimpleTest]]: [MySQL] 39,383 pass(es). View

Patch against 7.x

jfhovinne’s picture

Status: Needs review » Reviewed & tested by the community
10.73 KB
10.82 KB

#11 applies and correctly removes the semicolon in 7.x-dev, see attached screenshots.

Prashant.c’s picture

You can try this in hook_form_alter() function
if (($form_id == 'page_node_form')) {
// Change title to Name
$form['title']['#title'] = t('Name');


webchick’s picture

Category: task » bug
Status: Reviewed & tested by the community » Fixed

Hm. While I guess it's conceivable that this could break translations, that looks like a string unlikely to be translated. And it's a legit bug fix, since this is inconsistent with all other fields.

Committed and pushed to 7.x. Thanks!

Status: Fixed » Closed (fixed)

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

David_Rothstein’s picture

Issue tags: +7.17 release notes

Agreed that's pretty unlikely to break actual translations, but it can't hurt to add it to the release notes and CHANGELOG.txt just in case.