If I have 3 buttons, how can I make that if a pressing one and change the state to pressed, and when press other of two, the first one don’t change its style, and if I press the last one, the other remain with the state of pressed.
Can you please update your post with some more information so we can help you faster? Things like screenshots and your environment info really speed things up.
If user press one answer in the first question, the button must show the state of pressed and link to next question which is another
So when the user press the second answer, and the button show pressed, the first answer of the firs question must remain pressed.
This example has 3 questions but the number is not defined.