Thanks Cilefen.
I didn't find anything similar to my problem, but I did find a suggestion that helped change computed twig.
If anyone has a similar problem, follow the field configuration:
Computed twig - Doctor's name
{% set doctor = webform_token('[webform_submission:values:view_name:entity:doctor]', webform_submission, [], options) %}
{{ doctor }}
Computed twig - Department
{% set dept = webform_token('[webform_submission:values:view_name:entity:field_dept]', webform_submission, [], options) %}
{{ dept }}
I hope it helps!
adao.boscolo → created an issue.
Hey guys,
I don't know if this helps, but we had this same message on the date.
Our environment is set up like this:
- Drupal core 10.1.0-rc1
- Admin Toolbar 3.4.0
- IMCE 3.0.9
- Pathauto 8.x-1.11
- Redirect 8.x-1.8
- Token 8.x-1.11
- Webform 6.2.0-beta6
We are using the Olivero theme, without customizations.
This is the date field in the webform:
preferred_date:
'#type': date
'#title': 'Preferred date'
'#title_display': before
'#description_display': after
'#required': true
'#date_date_min': tomorrow
'#date_date_max': +2months
'#datepicker': true
'#date_date_format': d/m/Y
If we remove the field "'#datepicker': true", the message from no longer appears. But it is not possible to set date format in UI, only in source code.
I hope this information helps with this issue.
@jrockowitz,
Very thanks for the answer!
adao.boscolo → created an issue.
I solved the integration with GA4.
This is the step by step for Google Tag Manager:
Create two new data variables
AddToAny - socialTarget
Name: socialTarget
Version: 2
AddToAny - socialAction
Name: socialAction
Version: 2
Create a new trigger
AddToAnyShare
Trigger type:
custom event
Event name:
AddToAnyShare
Create a new tag
AddToAny
tag type:
GA4 event
Configuration tag:
(your GA4 account tag)
Event name:
share
Event Parameters:
Parameter name: method
Value: {{AddToAny - socialAction}}
Parameter name: content_type
Value: {{AddToAny - socialTarget}}
Triggers
AddToAnyShare
The data will be available in the real-time report (card: Event count by Event Name).