Jump to content

Multiple step form, with optional


pdipietro1
 Share

Recommended Posts

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.

As example:

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...