Form redirect
Form redirect with dynamic api
Dynamic api uses a different kind of redirect from the models.
This redirect is only triggered if all the calls in the request succeed. If even one of them fails (errors model in the response contains something) then by default redirection is not triggered. However, there is a way to define optional requests that allowed to fail.
We define the redirection with Form.Redirect parameter The syntax here is exactly the same as with responses, only difference is that instead of the usual {{ and }} escapes we use [[ and ]] instead.
Use Form.AllowedToFailRequests input name to pass request names that allowed to fail and make redirect
to the desired page even if they failed. Request names should be separated by comma (,)