0

I'm trying to understand Twig.

This is what I have got

{{ (data.number_1) * (data.number_2) }}

enter image description here

enter image description here

enter image description here

enter image description here

Why doesn't the preview page calculate the solution?

0

I figured it out. You need to create a "Preview Page" as per Computed Twig example.

webform 5.x has an inbuilt preview page which does not recalculate when viewed.

enter image description here

  • Computed Twig elements should be appearing the preview the page. This sound like a bug/issue. – jrockowitz Feb 6 '18 at 18:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.