Optional full name applied to title of nodes containing name field

Created on 21 February 2016, over 9 years ago
Updated 14 April 2025, 4 months ago

Before you say auto_nodetitle module β†’ I think the name field could benefit from having a similar feature built-in.

Use case

When building out basic CRM functionality with contact nodes containing the name field it is useful to have the concatenated full name used as the title of the node and as part of the path alias generated from that title.

auto_nodetitle isn't yet available for D8 and I'm not sure it would work in this context anyway as the name component tokens aren't available until the node is saved.

What I'm suggesting is a little different: If this option is chosen in the name field settings, the node title field would be disabled / greyed out on the node edit form to prevent direct user input of the title and as users fill in the name field components jquery would be used to concatenate the name field components into a full name and enter it into the node title field as they type.

I found this example which illustrates the general technique - Autofilling fields based on another field

Maybe this is better as a separate contrib module, but I think it would be really handy.

✨ Feature request
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia inteja

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024