- πΊπ¦Ukraine inman
[webform_submission:values:YOUR_FIELD:entity:name] - works
Tokens for entity reference field are printed in the format of:
"term name (tid)"
To create the issue:
1) I created a webform named (Favorite Color) with one "entity reference field" for the "taxonomy Color"
2) I configured a "rule" as below:
EVENT
Entity Insert
Webform Submission of type Favorite Color
ACTIONS
Set values to entity variable (Article Variable)
Save Entity Variable (Article Variable)
Below is the configuraion image for the action "Set values to entity variable":
Results:
After submitting the above webform (Favorite Color).
_ New Article node is created. (working)
_ Node Title is set to: "This is new node created using the Business rules module". (working)
for now all is good, However:
_ Node Body field is set in the following format: Taxonomy term (TermID)
See below image for example:
Problem/Question:
How to copy only the VALUE of the taxonomy term ?
for example: Red and not Red (12)
Thank you and best regards,
Active
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
[webform_submission:values:YOUR_FIELD:entity:name] - works