Yes, I have that in place.
function ff_stallApp2_submitted(status, message){if(status==0){ff_switchpage(7);}else{alert(message);}}
I have 3 payment methods on a 7-page application form and each one requires different responses to the user, so I am returning from each one back to the application form and dealing with the different cases in the before form piece. Redirecting to a separate fail or cancel page in those cases, or to the form thanks page in the case of a successful transaction (this is for PoliPay and Stripe)
I started out redirecting to a separate page for each use case, but the wording is pretty generic thankyou page stuff, so, in the interests of maintainability, I thought I would just inject a case-dependent piece of text at the top of the form's last page and go to it each time once I have done the case dependent processing.
One of the form submit outcomes is simply to submit the form in the normal way, and this simply reloads the form and goes straight to the thanks page as expected.
I have also tried
ff_redirectSelf('&ff_page=7')
but that doesn't seem to work as expected - it takes me to the home page, not back to the form.