Hi,

I'm trying to determine the correct syntax for a token chain. I have a web form with a selection list made up of node titles that are pulling in from an entity reference (i.e., the entity field only shows the title of the referenced node). What I would like to do is pull the content of that entity node into the default value box of a subsequent text field that is in the same web form. Ultimately, I am wanting to pull the content of the entity node into the text field so the form submitter can see and edit the content of that particular node if needed.

What I am unsure of is if the token that is to pull the entity node content. In other words, is the token a field, a webform-key, a value, an entity, etc. Maybe it is all of the above. Also, do I need to preface the entity token with another token, e.g., [node:webform:field...]?

I have tried numerous combinations to no avail. If someone can give me a pointer on how to configure the syntax I would be most grateful. Of course, another possibility is that this is not doable with tokens.

Thanks!

PS I have entity tokens enabled.

Comments

mcregan71 created an issue. See original summary.

mcregan71’s picture

Issue summary: View changes
Liam Morland’s picture

You probably can't do this. There should be a token list that you can choose from. The token values won't change based on a previous choice in a select element.

Liam Morland’s picture

Status: Active » Fixed

If you need more help, please re-open and provide details.

Status: Fixed » Closed (fixed)

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