How does one get the total no. of pages for a multi-step form? The following doesn't work.

{% set count = form.pages().count() %}
  • 2
    try {% set page_count = form.pages|length %} – Jim Wyse Mar 25 '19 at 15:20

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.