Jump to content

Steps on form


MARCELO
 Share

Recommended Posts

In the multiple step form:

 https://www.w3schools.com/code/tryit.asp?filename=FP1EFB02JNJ0

we have this:

  <!-- One "tab" for each step in the form: -->

So, if i wanted to be considered as a step two tabs (and not one), should n t i just change to this:

  <!-- Two "tabs" for each step in the form: -->     

 

But there s no effect. I can t see what must be changed - for me this s all that defines what s considered a step -  and i guess the structure is ok (i didn t change it almost).

Or it cannot be changed (number of tabs for each step)?

 

THANKS.

Link to comment
Share on other sites

That's just a comment, it doesn't do anything. The comment is there to tell people what the code is doing.

What does it even mean for one step to have two tabs? I cannot make sense of that.

Link to comment
Share on other sites

Ok, i thought this comment would specify something.

Anyway, the information provided in each tab - like name and email - is considered one step completed in the form, right?

But if i want to consider as a step completed the information being asked in two tabs - in one: name and email/ in the next: country and age - for example ? Is it possible? And this way, the little circle will change color only after these two tabs: that s the idea.

 

 

 

 

 

Edited by MARCELO
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...