I have a content type book and it has a taxonomy term reference field: author
I want to enter name and surname separately for each author on node add/edit page. Name and surname together will be the taxonomy term.
If I enter John for the name and Smith for the surname the taxonomy term will be John Smith.
I want to display the author name as surname, name
in somewhere and in some other place I want to display as full name [name + surname]
.
I know I can add custom fields to taxonomy terms and use the Automatic Entity Label module to combine name and surname for term name but I want to create this structure for node form without editing the taxonomy term on taxonomy term edit page.
I was using a method like this but it is useless for this case.
How can I create a name-surname structure for taxonomy terms on node form?
Note: This question is not a duplicate of "How to reference existing term if it exists or create new one if not exist via Inline Entity Form module?" ... even though they use the same image. In this question the main point is how to create a name-surname structure on node form, in the other question "how to combine creating new term and choosing existing one options" is asked.