{% set renderBackButton = flow.getCurrentStep() in 2 .. flow.getMaxSteps() %} {# Since bootstrap relies on jQuery or Ender, we can use a Js to make Enter intercept the next button append class="bootstrap_formflow" to your form: #}