- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 8:43am 10 April 2023
I am trying to use a token in a Webform radio button element. It works if I just need the current year. However, I am unable to automatically generate a token for NEXT year. The 'Token Math' alluded to in the title being [current-date:html_year] + 1
.
I have also tried to work around Token and use a 'Computed Twig' element and I can get that Webform element to generate the required string, but I do not know how to add the string to the Radio button element. I was hoping something like, [webform_submission:values:hidden_element_with_computed_twig_string]
would work, but, so far, no luck.
Any assistance you can provide would be greatly appreciated.
Be an ignorant buffoon, like me.
Needs review
1.0
Token Actions
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.