SOLVED: Form Redirect Action With Dynamic Fields Data

Browser: Chrome 110
OS: Windows
Video: Short screen recording that illustrates this issue

I have a form element with 3 different Select Type fields and Redirect action on it.
I want to redirect the user based on the the value of these fields.

I have tried to add the field’s id within the Action tab in this form {{ce3980}} but it still doesn’t work and it shows the id as a text.

You can have a look at a video showing this issue from here → here

Thanks :slight_smile:

Any help here ?!
Still waiting :slight_smile:

Hi @2puser,

Thank you for your report & video!

Yes, you’re right, I just confirmed the issue and have added it to our internal bug tracker. It should be an easy fix so might be included in the next release. If this is urgent, feel free to replace line 18 in includes > integrations > form > actions > redirect.php

Replace this:

if ( isset( $form_settings['redirect'] ) ) {
	$redirect_to = $form_settings['redirect'];
}

With this:

if ( isset( $form_settings['redirect'] ) ) {
	$redirect_to = $form->render_data( $form_settings['redirect'] );
}
1 Like

Hi guys,

We’ve fixed this issue in Bricks 1.10 beta, now available as a manual download in your account (see changelog).

Please let us know if you are still experiencing issues.

As with any beta release, please do not use it on a production/live website. It is only meant for testing in a local or staging environment.

Best regards,
M