D
D
danilr2020-01-20 20:23:14
JavaScript
danilr, 2020-01-20 20:23:14

How to properly organize the sequence of filling out a form in js?

There are such steps, they must be filled in sequentially - until you fill out the first one and click next, the following ones are not available. The js logic is interesting how to organize it. I am using view framework.
5e25e1ae6c596365565715.png
5e25e1fda5f18641133471.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex, 2020-01-20
@Kozack

Use the v-if directive which will display the content of one section depending on whether the previous section was filled

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question