Fix for 3 steps limit
-
While we wait for them to fix this (hoping that they will allow this in the free version), you can put this code in your function.php file to have unlimited steps:
function cf7mls_add_shortcode_step_override() { wpcf7_add_form_tag(['cf7mls_step'], 'cf7mls_multistep_shortcode_callback_override', true); } add_action('wpcf7_init', 'cf7mls_add_shortcode_step_override', 1); function cf7mls_multistep_shortcode_callback_override($tag) { $html = '<button type="button" class="cf7mls_back action-button" name="cf7mls_back">Back</button>'; $html .= '<button type="button" class="cf7mls_next cf7mls_btn action-button" name="cf7mls_next">Next</button>'; $html .= '</fieldset><fieldset class="fieldset-cf7mls">'; return $html; }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Fix for 3 steps limit’ is closed to new replies.