- Issue created by @santam
- 🇪🇨Ecuador dmezquia UTC-5
I think you can create a custom token and use it for that.
- 🇸🇰Slovakia coaston
Please refer to this comment : 💬 How to configure the module? Needs review
I am building a site where users from different institutes will be able to enter content related to their institute. I have created a content type called Institute and put a term reference field to institute in the user account page. Each user can belong to a single institute only.
I have a content type called Contouring System in which there is an entity reference field to the institute. I would now like to prepopulate the value in the select list with the user's institute.
I have created an entity reference field called "field_institute" in the user account page.
Another field called "field_institute_name" in the content page.
I have tried to pre-populate the data in the field_institute_name field using the following token:
[current-user:field_institute:entity:nid]
Seeing the image on the module page I have also tried this code
target_id: '[current-user:field_institute:entity:nid]'
Both do not work.
If however I just put node ID of one of the institute content fields then the select list does show the value (see attached image).
Thank you for any help with this.
Active
1.6
Documentation
I think you can create a custom token and use it for that.
Please refer to this comment : 💬 How to configure the module? Needs review