How to set the redirections on the forms.


The Problem:

Formidable forms allow you to configure every form confirmation so that you can optimize the user experience and have a better use the features of Vista WP Plugin and its integration with Formidable Forms.

To facilitate the configuration of this functionality we have designed a guide that allows (depending on the fields and ID of each form) to configure the confirmation settings of the form correctly.

The process for setting up form confirmation is divided into two major steps:

  • The first step is identifying the form we want to configure and its redirect URL configuration code, Fields, and IDs.
  • The second step is configuring the form on our web with the redirect URL configuration code, Fields, and IDs.

Below is a detailed explanation of each step.

Step 1: Check the configuration of the form:

Name of the form: basic search form v2

Redirect URL configuration code:

[siteurl]/listings?[if 13 not_equal=""]q=[13 sanitize_url=1][/if 13][if 19 not_equal=""]&type=[19 sanitize_url=1][/if 19][if 15 not_equal=""]&minprice=[15 sanitize_url=1][/if 15][if 16 not_equal=""]&maxprice=[16 sanitize_url=1][/if 16]&status=Active

Fields – ID [Key] :

  • Location [13]
  • Property Type [19]
  • Min. Price [15]
  • Max. Price [16]

[siteurl]/listings?[if 13 not_equal=""]q=[13 sanitize_url=1][/if 13][if 19 not_equal=""]&type=[19 sanitize_url=1][/if 19][if 15 not_equal=""]&minprice=[15 sanitize_url=1][/if 15][if 16 not_equal=""]&maxprice=[16 sanitize_url=1][/if 16]&status=Active

Step 2: set the redirection values on your form:

Check the variables values of YOUR FORM on the form settings –> Actions & Notifications

Take the Redirect URL configuration code and replace the corresponding IDs for your IDs.

[siteurl]/listings?[if 12 not_equal=""]q=[12 sanitize_url=1][/if 12][if 13 not_equal=""]&type=[19 sanitize_url=1][/if 13][if 14 not_equal=""]&minprice=[14 sanitize_url=1][/if 14][if 15 not_equal=""]&maxprice=[15 sanitize_url=1][/if 15]&status=Active

Paste the code on the Redirect URL field.

Follow the same process for every single form that you need, you can take the redirect code and the IDs values in the following table:

Form
Redirect URL configuration code

Redirect URL configuration code
basic search form v2[siteurl]/listings?[if 13 not_equal=""]q=[13 sanitize_url=1][/if 13][if 19 not_equal=""]&type=[19 sanitize_url=1][/if 19][if 15 not_equal=""]&minprice=[15 sanitize_url=1][/if 15][if 16 not_equal=""]&maxprice=[16 sanitize_url=1][/if 16]&status=ActiveLocation [13]
Property Type [19]
Min. Price [15]
Max. Price [16]
basic search form v3[siteurl]/listings?[if 26 not_equal=""]q=[26 sanitize_url=1][/if 26][if 27 not_equal=""]&type=[27 sanitize_url=1][/if 27][if 28 not_equal=""]&minprice=[28 sanitize_url=1][/if 28][if 29 not_equal=""]&maxprice=[29 sanitize_url=1][/if 29][if 30 not_equal=""]&minbeds=[30 sanitize_url=1][/if 30][if 31 not_equal=""]&minbaths=[31 sanitize_url=1][/if 31]&status=ActiveLocation [26]
Property Type [27]
Min. Baths [31]
Min. Beds [30]
Max. Price [29]
Min. Price [28]
Filter for Open Houses[siteurl]/open-house? [if 88 not_equal=""]q=[88 sanitize_url=1][/if 88] [if 82 not_equal=""]&minlistdate=[82 sanitize_url=1][/if 82] [if 90 not_equal=""]&maxprice=[84 sanitize_url=1][/if 90] [if 92 not_equal=""]&minbeds=[92 sanitize_url=1][/if 92] [if 99 not_equal=""]&type=[99 sanitize_url=1][/if 99] &limit=20 &status=ActiveSearch by location [88]
Date [97]
Price [90]
Beds [92]
Type [99]
Filter v2.0[siteurl]/listings?[if 81 not_equal=""]q=[81 sanitize_url=1][/if 81][if 82 not_equal=""]&type=[82 sanitize_url=1][/if 82][if 83 not_equal=""]&minprice=[83 sanitize_url=1][/if 83][if 84 not_equal=""]&maxprice=[84 sanitize_url=1][/if 84][if 85 not_equal=""]&minbeds=[85 sanitize_url=1][/if 85][if 86 not_equal=""]&minbaths=[86 sanitize_url=1][/if 86][if 87 not_equal=""]&minarea=[87 sanitize_url=1][/if 87]&limit=10&status=ActiveLocation [81]
Property Type [82]
Min. Price [83]
Max. Price [84]
Min. Beds [85]
Min. Baths [86]
Size (m2) [87]
Filters Listing[siteurl]/listings?[if 34 not_equal=""]q=[34 sanitize_url=1][/if 34][if 35 not_equal=""]&type=[35 sanitize_url=1][/if 35][if 36 not_equal=""]&minprice=[36 sanitize_url=1][/if 36][if 37 not_equal=""]&maxprice=[37 sanitize_url=1][/if 37][if 38 not_equal=""]&minbeds=[38 sanitize_url=1][/if 38][if 39 not_equal=""]&minbaths=[39 sanitize_url=1][/if 39]&status=ActiveLocation [34]
Property Type [35]
Min. Price [36]
Max. Price [37]
Bedroom [55]
Bathroom [56]
Size (m2) [57]
Amenities [68]

That’s It!