get field value with [webform_submission:node:field_name]

Created on 28 March 2018, over 6 years ago
Updated 28 January 2023, almost 2 years ago

Hi, I trying to get the value of several fields in a content type with:

[webform_submission:node:field_name]

To get the value in some Hidden webform fields to send this information in email

I remeber I do it with a past version of webform module (a 8 version) but now I get a error:

Value is using the following invalid tokens:

and I cant save the token.

What i'm doing wrong? The syntax is incorrect or may be just the Browse available tokens are (obvious) available
and I need to find another way to get the field value inside webform.

πŸ’¬ Support request
Status

Closed: works as designed

Component

Documentation

Created by

πŸ‡²πŸ‡½Mexico koffer

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.

  • πŸ‡¨πŸ‡­Switzerland Castor-designs

    Hello @jrockowitz

    I ran into the very same poblerm.

    1. Webform Node is installed and enabled
    2. I have access to the token and can use it in the subject line
    3. When i would use an invalid token I get an error message and can't save the settings like this. Therefore it's a valid token.
    4. it's a basic text field
    5. it does not get printed/rendered and is simply empty.

    See this screenshot series: https://imgur.com/a/yhEiDot

    One thing that is special in my setup: Webform (and Webform node) is installed via Composer while Token is installed manually. I had no other problems with tokens so far.

  • πŸ‡ΊπŸ‡ΈUnited States jrockowitz Brooklyn, NY

    What version of the webform module are you using?

Production build 0.71.5 2024