Tokens for Webforms

Created on 26 May 2022, about 2 years ago
Updated 13 June 2023, about 1 year ago

Problem/Motivation

I have created a webform with this module and a filed name called Pick Point

When the user submits this and the email is sent with the below token the following is returned

Token used: [webform_submission:values:pick_point]
Value printed out in email: lat { "lat": 52.355556972593305, "lng": -7.702601627895779}

Is there a way to return the lat or lng only eg using a token like

Token used maybe for lat [webform_submission:values:pick_point:lat]
Would print out: 52.355556972593305

Token used maybe for lng [webform_submission:values:pick_point:lng]
Would Print out: -7.702601627895779

Is doable with the current setup

many thanks

💬 Support request
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇪Ireland BeeOnLion Cork

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.

Production build 0.69.0 2024