Jump to content
Sign in to follow this  

Multiple step form, with optional

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

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...