contact form 7 mutistep – return to step 1

  contact-form-7, javascript, wordpress

i am using cf7 to create a multi step form. however i need to create a link/button in the last step to return to first step. below are the fieldsets shown in step 3.

<fieldset class="fieldset-cf7mls" data-cf7mls-order="0" style="height: 0px; overflow: hidden; opacity: 0; visibility: hidden;">
<fieldset class="fieldset-cf7mls" data-cf7mls-order="1" style="height: 0px; overflow: hidden; opacity: 0; visibility: hidden;">
<fieldset class="fieldset-cf7mls cf7mls_current_fs" data-cf7mls-order="2" style="height: auto; overflow: visible; opacity: 1; visibility: visible;">

fieldsets shown in step 1.

<fieldset class="fieldset-cf7mls cf7mls_current_fs" data-cf7mls-order="0" style="height: auto; overflow: visible; opacity: 1; visibility: visible;">
<fieldset class="fieldset-cf7mls" data-cf7mls-order="1" style="height: 0px; overflow: hidden; opacity: 0; visibility: hidden;">
<fieldset class="fieldset-cf7mls" data-cf7mls-order="2" style="height: 0px; overflow: hidden; opacity: 0; visibility: hidden;">

any help is appreciated.

Source: Ask Javascript Questions

LEAVE A COMMENT