How to format multiple dates in a computed token using Webform in Drupal 8?

by Kim Janssens   Last Updated December 11, 2017 21:07 PM

I have created a webform using the Webform(8.x-5.0-beta24) module in Drupal 8. In this form I'm adding Computed token fields, within these fields you can define computed value/markup.

The following code prints all dates but with no format [webform_submission:node:field_workshop_date]

And this code prints only 1 date with the correct format [webform_submission:node:field_workshop_date:date:short_date_eu]

What I'm actually trying to do is a combination of both, where I can print all dates with the defined date format. Does anybody know the markup for this?

Tags : 8 webform tokens yaml


Related Questions



HOW TO ESCAPE SQUARE BRACKETS IN WEB FORMS

Updated October 31, 2017 15:07 PM


How To Alter Web Form Elements Permanently?

Updated October 29, 2017 10:07 AM