How to transfer field_img_1 field_img_2 field values to the field_my_webform web form template (webform-submission-form--web-form-with-images-for-each-step.html.twig)


field_img_1, field_img_2, field_my_webform

I need to do this in a web form template webform-submission-form--web-form-with-images-for-each-step.html.twig

{% if form.progress['#current_page'] == 'step_0' %}
    <div>{{ field_img_1 }}</div>
{% else form.progress['#current_page'] == 'step_1' %}
    <div>{{ field_img_2 }}</div>


Your Answer

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

Browse other questions tagged or ask your own question.