For example you have drop-down on the first page of your form with name=dd. This drop down has the following select-list:
- Code: Select all
0|-- Please select --
1|Page 2
2|Page 3
3|Page 4
Please open Tools – PHP editor and add the following code after $form->doAfterSubmitAction();
- Code: Select all
if ($form->page == 1 && $form->submitter !== -1) {
switch ($form->data['dd']) {
case '1' : $form->page = 1; break;
case '2' : $form->page = 2; break;
case '3' : $form->page = 3; break;
}
}
Save the changes.
If customer selects "Page 2" from select list then he will be redirected to the second page; if customer selects "Page 3" from select list then he will be redirected to the third page and etc.

