H
H
hollanditkzn2018-02-02 12:28:05
JavaScript
hollanditkzn, 2018-02-02 12:28:05

How to sequentially display blocks after a response from the user?

I had a problem, such that if the user clicks on the button and if he doesn’t answer anything, then he will move to the next question, but to make it impossible to move the user without answering the question, I didn’t catch up. Do I need to make an array or json and check it, or is it not quite the way I think?
Here is my example https://jsfiddle.net/hollanditkzn/ogs7zf7z/
This is the view since after the database all questions are displayed.
If you do not mark more than one radio, then the user moves and the next question, but it is necessary that he cannot move

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nick Sdk, 2018-02-02
@hollanditkzn

Add check that none of the values ​​were selected
https://jsfiddle.net/ogs7zf7z/1/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question