Redirect
Redirect (action after submit) allows users to navigate after submitting forms.
You can change the navigation path when submitting forms using hooks. You can use the redirect feature after submitting the form by following the steps below:
Step 1: Create forms with full information
Step 2: Select the Actions After Submit section, add Getresponse to the actions select box.
Step 3: Select the Redirect section and perform the integration.
Redirect To: The address you want to redirect to after successfully submitting the form.
Open In New Tab: This option will open the redirect page in a new tab.
URL Parameter: You can choose to add parameters to the URL when performing the redirect.
Filter Hook:
add_filter('wpf_after_submit_redirect', $redirect_data, $submit_data, $form_name) $redirect_data: Variable containing navigation data.
$submit_data: Variable containing data forms.
Code Example:
function wpf_modify_after_submit_redirect($redirect_data, $submit_data, $form_name){
//Your code here
return $redirect_data
}