You need a bit of JavaScript logic to make this work.
Here’s a basic example: https://conditional-fields-cf7.bdwm.be/multistep-example-move-to-specific-step-programatically/
This is a rather simple example, so you probably need to add some logic to check the field values. Here’s a snippet that I coded a while ago for a PRO customer.
<script>
const $form = jQuery('.wpcf7-form');
const $group2 = jQuery('[data-id="group-address2"]');
const $group3 = jQuery('[data-id="group-address3"]');
$form.on('wpcf7cf_change_step', function(e, previousStep, currentStep) {
if (previousStep < currentStep) { // step forward
if (!$group2.is(':visible') && currentStep === 6) {
wpcf7cf.multistepMoveToStep($form,8)
} else if (!$group3.is(':visible') && currentStep === 7) {
wpcf7cf.multistepMoveToStep($form,8)
}
} else if (previousStep > currentStep) { // step back
if (!$group2.is(':visible') && currentStep === 7) {
wpcf7cf.multistepMoveToStep($form,5)
} else if (!$group3.is(':visible') && currentStep === 7) {
wpcf7cf.multistepMoveToStep($form,6)
}
}
});
</script>
If you have a PRO license, feel free to email me directly and it will be my pleasure to help you out.