I'm referring to https://www.w3schools.com/howto/howto_js_form_steps.asp
What I want to achieve, is to introduce a step where to select the required steps.
Imagine a form to insert the data of a person:
Tab0: a transfer list with 3 elements: Name and date on the right tab, required; Driving License on the left tab to be selected only by people having a driver license
Tab1 - Name: First and last name
Tab2 - Date: Date of birth
Tab3 - Driving license: Optional: Driving license #
The sequence of pages should include Tab3 only if previously selected in Tab0